1
0

2 Revīzijas 98705ef12d ... a0037c00ff

Autors SHA1 Ziņojums Datums
  Joseph Brandenburg a0037c00ff interface update causes tree update 6 dienas atpakaļ
  Joseph Brandenburg 98705ef12d interface update causes tree update 6 dienas atpakaļ
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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