|
|
@@ -80,12 +80,12 @@ class SchemaSolver:
|
|
|
mantis_node.fill_parameters(ui_node)
|
|
|
# HACK to make Group Nodes work
|
|
|
if ui_node.bl_idname == "NodeGroupInput":
|
|
|
- from .schema_containers import SchemaConstInput
|
|
|
+ from .schema_nodes import SchemaConstInput
|
|
|
mantis_node = SchemaConstInput(signature=signature, base_tree=self.node.base_tree, parent_schema_node=self.node)
|
|
|
self.schema_nodes[signature] = mantis_node
|
|
|
mantis_node.fill_parameters(ui_node)
|
|
|
if ui_node.bl_idname == "NodeGroupOutput":
|
|
|
- from .schema_containers import SchemaConstOutput
|
|
|
+ from .schema_nodes import SchemaConstOutput
|
|
|
mantis_node = SchemaConstOutput(signature=signature, base_tree=self.node.base_tree, parent_schema_node=self.node)
|
|
|
self.schema_nodes[signature] = mantis_node
|
|
|
mantis_node.fill_parameters(ui_node)
|
|
|
@@ -430,7 +430,7 @@ class SchemaSolver:
|
|
|
if not from_node:
|
|
|
from_node = self.schema_nodes[(*self.tree_path_names, from_ui_node.bl_idname)]
|
|
|
to_node = outgoing.to_node
|
|
|
- from .schema_containers import SchemaIndex
|
|
|
+ from .schema_nodes import SchemaIndex
|
|
|
if isinstance(from_node, SchemaIndex):
|
|
|
signature = ("MANTIS_AUTOGENERATED", *self.tree_path_names[1:-1], self.index_str(),
|
|
|
ui_link.from_socket.name, ui_link.from_socket.identifier)
|
|
|
@@ -542,7 +542,7 @@ class SchemaSolver:
|
|
|
This function also adds to held_links to pass data between iterations.
|
|
|
"""
|
|
|
|
|
|
- from .schema_definitions import (SchemaIndex,
|
|
|
+ from .schema_nodes_ui import (SchemaIndex,
|
|
|
SchemaArrayInput,
|
|
|
SchemaArrayInputGet,
|
|
|
SchemaArrayInputAll,
|
|
|
@@ -730,7 +730,7 @@ class SchemaSolver:
|
|
|
|
|
|
|
|
|
def finalize(self, frame_nc):
|
|
|
- from .schema_definitions import (SchemaOutgoingConnection,)
|
|
|
+ from .schema_nodes_ui import (SchemaOutgoingConnection,)
|
|
|
for i in range(len(self.held_links)):
|
|
|
link = self.held_links.pop()
|
|
|
to_np = link.to_socket.node; from_np = link.from_socket.node
|