|
|
@@ -295,8 +295,10 @@ def get_schema_length_dependencies(node, all_nodes={}):
|
|
|
def insert_default_values_base_tree(base_tree, all_mantis_nodes):
|
|
|
# we can get this by name because group inputs are gathered to the bl_idname
|
|
|
InputNode = all_mantis_nodes.get((None, 'NodeGroupInput'))
|
|
|
+ if InputNode is None: return # nothing to do here.
|
|
|
for output in InputNode.outputs:
|
|
|
for interface_item in base_tree.interface.items_tree:
|
|
|
+ if interface_item.item_type == 'PANEL': continue
|
|
|
if interface_item.identifier == output.name: break
|
|
|
else:
|
|
|
raise RuntimeError(f"Default value {output.name} does not exist in {base_tree.name} ")
|