diff --git a/js/external_tooling_nodes.js b/js/external_tooling_nodes.js index 66904a8..9394e00 100644 --- a/js/external_tooling_nodes.js +++ b/js/external_tooling_nodes.js @@ -152,6 +152,8 @@ function adaptWidgetsToConnection(node) { const widgetName = input.widget.name const theirWidget = theirNode.widgets.find((w) => w.name === widgetName) + if (!theirWidget) return // connected to a custom node that isn't installed + const widgetType = theirWidget.origType ?? theirWidget.type changeWidgets(node, widgetType, theirNode, theirWidget)