Procházet zdrojové kódy

Fix: 3-bool reset execution syntax error

Joseph Brandenburg před 3 měsíci
rodič
revize
d3f8cb1eeb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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