"git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "571ea8cdcc2d1bf4fa7f398dad68415dacfff02f"
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({ ...@@ -463,7 +463,11 @@ app.registerExtension({
} }
if (widget.type === "number" || widget.type === "combo") { 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 // 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