mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-10 11:47:34 +08:00
[FIX] remove all output 'FLOW' connection of the original node when a flow connection is builded.
This commit is contained in:
parent
2d2075fe2d
commit
c89300743b
@ -4309,6 +4309,15 @@
|
||||
changed = true;
|
||||
}
|
||||
break;
|
||||
|
||||
// if it is a flow-control connection, and the original output link is not null, discounnect
|
||||
case "FLOW":
|
||||
console.log("[Link Connect] remove output links of 'FLOW' connection.");
|
||||
this.graph.beforeChange();
|
||||
this.disconnectOutput(slot);
|
||||
changed = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user