mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +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 :'()
|
||||
}
|
||||
|
||||
if (this.slot_types_default_in[type].includes(nodeId)) continue
|
||||
this.slot_types_default_in[type].push(nodeId)
|
||||
|
||||
// Store each node that can handle this output type
|
||||
|
||||
Reference in New Issue
Block a user