소스 검색

Add sanity check in display_update to avoid updating when exporting graph.

Joseph Brandenburg 9 달 전
부모
커밋
705b46cff9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      base_definitions.py

+ 2 - 0
base_definitions.py

@@ -76,6 +76,8 @@ class MantisTree(NodeTree):
 
     
     def display_update(self, context):
+        if self.is_exporting:
+            return
         current_tree = bpy.context.space_data.path[-1].node_tree
         for node in current_tree.nodes:
             if hasattr(node, "display_update"):