mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-27 06:40:16 +08:00
robust patch for refresh feature
This commit is contained in:
parent
d1c48064e7
commit
bdfca3b4b6
@ -814,6 +814,11 @@ class ComfyApp {
|
|||||||
const node = this.graph._nodes[nodeNum];
|
const node = this.graph._nodes[nodeNum];
|
||||||
|
|
||||||
const def = defs[node.type];
|
const def = defs[node.type];
|
||||||
|
|
||||||
|
if(def.refresh_list == undefined) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
for(const i in def.refresh_list) {
|
for(const i in def.refresh_list) {
|
||||||
const item = def.refresh_list[i];
|
const item = def.refresh_list[i];
|
||||||
const filelist = def.input["required"][item];
|
const filelist = def.input["required"][item];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user