Browse Source

fix: Existing Geometry Object reset execution

Joseph Brandenburg 6 tháng trước cách đây
mục cha
commit
5e02451d54
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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"):