Преглед на файлове

fix: Autogen Nodes should not have ui_signature

Joseph Brandenburg преди 5 месеца
родител
ревизия
9d8602bf54
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      readtree.py

+ 1 - 0
readtree.py

@@ -104,6 +104,7 @@ def autogen_node(base_tree, ui_socket, signature, mContext):
         mantis_node.mContext = mContext
         mantis_node.execution_prepared=True
         mantis_node.outputs.init_sockets([ui_socket.name])
+        mantis_node.ui_signature = None # does not exist in the UI
     return mantis_node
 
 # TODO: investigate whether I can set the properties in the downstream nodes directly.