Fix paste-with-links breaking autogrow connections (#8442)

The extra `linf` check was made in 878c8c0f39. I'm no longer able to
replicate the cloning bug the check was introduced for.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8442-Fix-paste-with-links-breaking-autogrow-connections-2f76d73d3650817aa99cc3b9e4e6412c)
by [Unito](https://www.unito.io)
This commit is contained in:
AustinMroz
2026-01-29 16:25:16 -08:00
committed by GitHub
parent a4cf9a1ca8
commit e2625a4055

View File

@@ -557,7 +557,7 @@ function withComfyAutogrow(node: LGraphNode): asserts node is AutogrowNode {
if (!autogrowGroup) return
if (app.configuringGraph && input.widget)
ensureWidgetForInput(node, input)
if (iscon && linf) {
if (iscon) {
if (swappingConnection || !linf) return
autogrowInputConnected(slot, this)
} else {