Jelajahi Sumber

remove unneeded check in execute

Joseph Brandenburg 2 minggu lalu
induk
melakukan
0473f7bcaa
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  1. 0 3
      execution/readtree.py

+ 0 - 3
execution/readtree.py

@@ -77,9 +77,6 @@ def make_connections_to_ng_dummy(base_tree, tree_path_names, local_mantis_nodes,
 def gen_mantis_nodes(base_tree, current_tree, tree_path_names, mContext, all_mantis_nodes, local_mantis_nodes, dummy_nodes, group_nodes, schema_nodes ):
     from ..internal_nodes import DummyNode
     for ui_node in current_tree.nodes:
-        # HACK I found that this isn't being set sometimes. I wonder why? It makes the most sense to do this here.
-        if hasattr(ui_node, 'initialized'): ui_node.initialized=True
-        # end HACK. TODO: find out why this is not set sometimes. This is only needed for UI socket change updates.
         if ui_node.bl_idname in ["NodeFrame", "NodeReroute"]:
             continue # not a Mantis Node
         if ui_node.bl_idname in ["NodeGroupInput", "NodeGroupOutput"]: