Browse Source

Fix: Schema Solve fails for non-hierarchy array links

Joseph Brandenburg 6 tháng trước cách đây
mục cha
commit
2cb7dd604d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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):
         for inp in node.inputs.values():
             for l in inp.links:
+                if not l.is_hierarchy:
+                    continue
                 if "MANTIS_AUTOGENERATED" in l.from_node.signature: 
                     deps.extend([l.from_node]) # why we need this lol
                 if inp.name in prepare_links_to: