From 96664f5d5eb758d90ba2923b8caae3d28f93d3fd Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Fri, 3 Feb 2023 00:39:28 -0500 Subject: [PATCH] Web interface bug fix for multiple inputs from the same node. --- webshit/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webshit/index.html b/webshit/index.html index c687589..3cdddc9 100644 --- a/webshit/index.html +++ b/webshit/index.html @@ -306,7 +306,7 @@ function graphToPrompt() { // console.log(c_nodes, z); if (c_nodes) { for (let zz in c_nodes) { - if (c_nodes[zz].id == n.id) { + if (c_nodes[zz].id == n.id && parent_node.outputs[z].links.includes(n.inputs[y].link)) { input_[n.inputs[y].name] = [String(parent_node.id), parseInt(z)]; break; }