2 次代碼提交 98705ef12d ... a0037c00ff

作者 SHA1 備註 提交日期
  Joseph Brandenburg a0037c00ff interface update causes tree update 6 天之前
  Joseph Brandenburg 98705ef12d interface update causes tree update 6 天之前
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      socket_definitions.py

+ 1 - 0
socket_definitions.py

@@ -397,6 +397,7 @@ def interface_socket_update(self, context):
     #  - or if the root tree node is using an overlay, update it directly
     #  - if there are any overlay-tagged, invalidate them
     root_tree = socket_update_get_root_tree(self, context)
+    if root_tree is None: return # happens on startup or if e.g. tree is executing
     parsed_tree = root_tree.parsed_tree
     if len(parsed_tree) == 0: return # nothing to do here
     # get the mContext