Browse Source

Fix: 3-bool reset execution syntax error

Joseph Brandenburg 3 tháng trước cách đây
mục cha
commit
d3f8cb1eeb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      misc_nodes.py

+ 1 - 1
misc_nodes.py

@@ -1116,7 +1116,7 @@ class UtilityCombineThreeBool(MantisNode):
     def reset_execution(self): # need to make sure any references are deleted
         super().reset_execution() # so we prepare the node again to reset them
         if self.parameters["Three-Bool"] is not None:
-            for param in self.parameters["Three-Bool"].values():
+            for param in self.parameters["Three-Bool"]:
                 if isinstance(param, dict):
                     self.prepared=False; break