mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
Web interface bug fix for multiple inputs from the same node.
This commit is contained in:
parent
1d84a44b08
commit
96664f5d5e
@ -306,7 +306,7 @@ function graphToPrompt() {
|
|||||||
// console.log(c_nodes, z);
|
// console.log(c_nodes, z);
|
||||||
if (c_nodes) {
|
if (c_nodes) {
|
||||||
for (let zz in 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)];
|
input_[n.inputs[y].name] = [String(parent_node.id), parseInt(z)];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user