Преглед на файлове

fix: Existing Geometry Object reset execution

Joseph Brandenburg преди 6 месеца
родител
ревизия
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"):