Parcourir la source

Fix: reset tree.is_executing after error

Joseph Brandenburg il y a 9 mois
Parent
commit
855342c3fe
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      base_definitions.py

+ 2 - 0
base_definitions.py

@@ -64,6 +64,8 @@ class MantisTree(NodeTree):
             self.tree_valid = False
             self.is_executing = False
             raise e
+        finally:
+            self.is_executing = False
 
     
     def display_update(self, context):