mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
Fix bypass links on delete gives up after corrupt link (#831)
Bypass links will now continue to attempt to connect other links, instead of silently giving up on the first corrupt link it finds.
This commit is contained in:
@@ -3312,7 +3312,7 @@ export class LGraphNode implements Positionable, IPinnable, IColorable {
|
|||||||
|
|
||||||
for (const outLink of outLinks) {
|
for (const outLink of outLinks) {
|
||||||
const outNode = graph.getNodeById(outLink.target_id)
|
const outNode = graph.getNodeById(outLink.target_id)
|
||||||
if (!outNode) return
|
if (!outNode) continue
|
||||||
|
|
||||||
const result = inNode.connect(
|
const result = inNode.connect(
|
||||||
inLink.origin_slot,
|
inLink.origin_slot,
|
||||||
|
|||||||
Reference in New Issue
Block a user