From 2b8a852708ac4cf8506c79bc9af4d0c0b617e597 Mon Sep 17 00:00:00 2001 From: NumZ Date: Mon, 19 May 2025 03:50:58 +0200 Subject: [PATCH] Fix Input --- web/js/nodetype_input.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/js/nodetype_input.js b/web/js/nodetype_input.js index 45e2283..2eca16a 100644 --- a/web/js/nodetype_input.js +++ b/web/js/nodetype_input.js @@ -247,13 +247,16 @@ function initialisation_preGraph(node) { } else { if (!isChangeConnect) { if (this.outputs[0].links && this.outputs[0].links.length == 0) { - this.inputs[0].type = "*"; + //this.inputs[0].type = "*"; this.outputs[0].type = "*"; this.widgets[0].value = ""; this.widgets = this.widgets.splice(0, 1); if (this.widgets_values) { this.widgets_values = this.widgets_values.splice(0, 1); } + this.inputs[0].type = "*"; + this.inputs[0].widget = undefined; + this.inputs[0].pos = undefined; } } }