Commit 96664f5d authored by comfyanonymous's avatar comfyanonymous
Browse files

Web interface bug fix for multiple inputs from the same node.

parent 1d84a44b
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment