Просмотр исходного кода

fix: Existing Geometry Object reset execution

Joseph Brandenburg 6 месяцев назад
Родитель
Сommit
5e02451d54
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      misc_nodes.py

+ 5 - 1
misc_nodes.py

@@ -1147,8 +1147,12 @@ class InputExistingGeometryObject(MantisNode):
         self.outputs.init_sockets(outputs)
         self.init_parameters()
         self.node_type = "XFORM"
+    
+    def reset_execution(self):
+        super().reset_execution()
+        self.prepared=False
 
-    def bExecute(self, bContext=None):
+    def bPrepare(self, bContext=None):
         from bpy import data
         ob = None
         if name := self.evaluate_input("Name"):