mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-09 21:12:36 +08:00
crash fix
This commit is contained in:
parent
286b731de3
commit
9d332bec0e
@ -224,12 +224,14 @@ export class ComfyApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// for Load Image node.
|
// for Load Image node.
|
||||||
const index = this.widgets.findIndex(obj => obj.name === 'image');
|
if(this.widgets) {
|
||||||
if(index >= 0 && filename != "") {
|
const index = this.widgets.findIndex(obj => obj.name === 'image');
|
||||||
this.widgets[index].value = filename;
|
if(index >= 0 && filename != "") {
|
||||||
if(this.widgets_values != undefined) {
|
this.widgets[index].value = filename;
|
||||||
this.widgets_values[index] = filename;
|
if(this.widgets_values != undefined) {
|
||||||
}
|
this.widgets_values[index] = filename;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user