浏览代码

remove unneeded check in execute

Joseph Brandenburg 2 周之前
父节点
当前提交
0473f7bcaa
共有 1 个文件被更改,包括 0 次插入 和 3 次删除
  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"]: