Fix slot types added multiple times (#3194)

This commit is contained in:
filtered
2025-03-23 09:01:12 +11:00
committed by GitHub
parent eae538b08e
commit f852639758

View File

@@ -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