mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
Fix slot types added multiple times (#3194)
This commit is contained in:
@@ -68,6 +68,7 @@ app.registerExtension({
|
|||||||
this.slot_types_default_in[type] = ['Reroute'] // ["Reroute", "Primitive"]; primitive doesn't always work :'()
|
this.slot_types_default_in[type] = ['Reroute'] // ["Reroute", "Primitive"]; primitive doesn't always work :'()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.slot_types_default_in[type].includes(nodeId)) continue
|
||||||
this.slot_types_default_in[type].push(nodeId)
|
this.slot_types_default_in[type].push(nodeId)
|
||||||
|
|
||||||
// Store each node that can handle this output type
|
// Store each node that can handle this output type
|
||||||
|
|||||||
Reference in New Issue
Block a user