stack is now partial execution safe

This commit is contained in:
mcDandy
2026-02-10 17:08:06 +01:00
parent 4bdbdd7bde
commit 5f6f648636
13 changed files with 14 additions and 3 deletions
+2
View File
@@ -76,6 +76,8 @@ class ModelMathNode(io.ComfyNode):
def execute(cls, V, F, Expression, length_mismatch="tile",stack={}) -> io.NodeOutput:
# Determine reference model for cloning
a = V.get("V0")
stack = stack.deepcopy() if stack is not None else {}
if a is None:
# Try finding first valid model
for m in V.values():