1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 15:04:50 +08:00

Fix internal reroutes connected to other groups

This commit is contained in:
pythongosssss
2023-12-09 13:04:35 +00:00
parent 97015b6b38
commit 9aaf368a41
2 changed files with 30 additions and 0 deletions

View File

@@ -602,6 +602,10 @@ export class GroupNodeHandler {
innerNode = innerNode.getInputNode(0);
}
if (l && GroupNodeHandler.isGroupNode(innerNode)) {
return innerNode.updateLink(l);
}
link.origin_id = innerNode.id;
link.origin_slot = l?.origin_slot ?? output.slot;
return link;