瀏覽代碼

Fix: 3-bool reset execution syntax error

Joseph Brandenburg 3 月之前
父節點
當前提交
d3f8cb1eeb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
     def reset_execution(self): # need to make sure any references are deleted
         super().reset_execution() # so we prepare the node again to reset them
         super().reset_execution() # so we prepare the node again to reset them
         if self.parameters["Three-Bool"] is not None:
         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):
                 if isinstance(param, dict):
                     self.prepared=False; break
                     self.prepared=False; break