Pārlūkot izejas kodu

fix: Existing Geometry Object reset execution

Joseph Brandenburg 6 mēneši atpakaļ
vecāks
revīzija
5e02451d54
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  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"):