Browse Source

Fix: Schema Solve fails for non-hierarchy array links

Joseph Brandenburg 6 months ago
parent
commit
2cb7dd604d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      readtree.py

+ 2 - 0
readtree.py

@@ -260,6 +260,8 @@ def get_schema_length_dependencies(node, all_nodes={}):
     def extend_dependencies_from_inputs(node):
     def extend_dependencies_from_inputs(node):
         for inp in node.inputs.values():
         for inp in node.inputs.values():
             for l in inp.links:
             for l in inp.links:
+                if not l.is_hierarchy:
+                    continue
                 if "MANTIS_AUTOGENERATED" in l.from_node.signature: 
                 if "MANTIS_AUTOGENERATED" in l.from_node.signature: 
                     deps.extend([l.from_node]) # why we need this lol
                     deps.extend([l.from_node]) # why we need this lol
                 if inp.name in prepare_links_to:
                 if inp.name in prepare_links_to: