"web/vscode:/vscode.git/clone" did not exist on "db63aa7e53c459b016cfa4159be004e59af84da9"
Commit 8cfce083 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix primitive node control value not getting loaded.

parent a0690f9d
......@@ -463,7 +463,11 @@ app.registerExtension({
}
if (widget.type === "number" || widget.type === "combo") {
addValueControlWidget(this, widget, "fixed");
let control_value = this.widgets_values?.[1];
if (!control_value) {
control_value = "fixed";
}
addValueControlWidget(this, widget, control_value);
}
// When our value changes, update other widgets to reflect our changes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment