Explorar o código

Fix: 3-bool reset execution syntax error

Joseph Brandenburg hai 3 meses
pai
achega
d3f8cb1eeb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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