The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Merge branch 'reroute-converted-inputs' of https://github.com/pythongosssss/ComfyUI
comfyanonymouse1345473413c
diff --cc web/extensions/core/widgetInputs.jsindex b8dd47d0e,c33f7346a..865db4923--- a/web/extensions/core/widgetInputs.js+++ b/web/extensions/core/widgetInputs.js@@@ -445,14 -463,20 +474,20 @@@ app.registerExtension(for (const linkInfo of links) {const node = this.graph.getNodeById(linkInfo.target_id);const input = node.inputs[linkInfo.target_slot];- const widgetName = input.widget.name;- if (widgetName) {- const widget = node.widgets.find((w) => w.name === widgetName);- if (widget) {- widget.value = v;- if (widget.callback) {- widget.callback(widget.value, app.canvas, node, app.canvas.graph_mouse, {});- }+ let widget;+ if (input.widget[TARGET]) {+ widget = input.widget[TARGET];+ } else {+ const widgetName = input.widget.name;+ if (widgetName) {+ widget = node.widgets.find((w) => w.name === widgetName);+ }+ }++ if (widget) {- widget.value = this.widgets[0].value;++ widget.value = v;+ if (widget.callback) {+ widget.callback(widget.value, app.canvas, node, app.canvas.graph_mouse, {});}}}