From f852639758e1b705d62001e667b9484e93df1748 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Sun, 23 Mar 2025 09:01:12 +1100 Subject: [PATCH] Fix slot types added multiple times (#3194) --- src/extensions/core/slotDefaults.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/extensions/core/slotDefaults.ts b/src/extensions/core/slotDefaults.ts index ac5071699..eba9d3a51 100644 --- a/src/extensions/core/slotDefaults.ts +++ b/src/extensions/core/slotDefaults.ts @@ -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