Remove duplicate opt_connection from groups muter in workflows refreshed in last 12h.
This commit is contained in:
@@ -76,6 +76,14 @@ export abstract class BaseFastGroupsModeChanger extends RgthreeBaseVirtualNode {
|
||||
return super.onConstructed();
|
||||
}
|
||||
|
||||
override configure(info: SerializedLGraphNode<LGraphNode>): void {
|
||||
// Patch a small issue (~14h) where multiple OPT_CONNECTIONS may have been created.
|
||||
// https://github.com/rgthree/rgthree-comfy/issues/206
|
||||
// TODO: This can probably be removed within a few weeks.
|
||||
info.outputs.length = 1;
|
||||
super.configure(info);
|
||||
}
|
||||
|
||||
override onAdded(graph: TLGraph): void {
|
||||
FAST_GROUPS_SERVICE.addFastGroupNode(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user