From 8a4f19a90bf2cdf7285e7bd19fc4554d34fdb6f2 Mon Sep 17 00:00:00 2001 From: Jairo Correa Date: Sat, 23 Sep 2023 15:03:21 -0300 Subject: [PATCH] Fix reroute for generic type --- web/extensions/core/rerouteNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/extensions/core/rerouteNode.js b/web/extensions/core/rerouteNode.js index 499a171da..c072a6cd6 100644 --- a/web/extensions/core/rerouteNode.js +++ b/web/extensions/core/rerouteNode.js @@ -95,7 +95,7 @@ app.registerExtension({ } else { // We've found an output const nodeOutType = node.inputs && node.inputs[link?.target_slot] && node.inputs[link.target_slot].type ? node.inputs[link.target_slot].type : null; - if (inputType && nodeOutType !== inputType) { + if (inputType && nodeOutType !== inputType && inputType !== "*" && nodeOutType !== "*") { // The output doesnt match our input so disconnect it node.disconnectInput(link.target_slot); } else {