Fix
This commit is contained in:
@@ -108,11 +108,12 @@ export class ComfyBackendNode extends ComfyGraphNode {
|
|||||||
const config = configs[input.name]
|
const config = configs[input.name]
|
||||||
if (config != null && index >= 0 && index < this.inputs.length) {
|
if (config != null && index >= 0 && index < this.inputs.length) {
|
||||||
if (input.config == null || Object.keys(input.config).length !== Object.keys(config).length) {
|
if (input.config == null || Object.keys(input.config).length !== Object.keys(config).length) {
|
||||||
console.error("SET", input, config)
|
console.debug("[ComfyBackendNode] restore input config", input, config)
|
||||||
input.config = config
|
input.config = config
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
console.error("[ComfyBackendNode] Missing input config in onConfigure()!", input, configs)
|
||||||
input.config = {}
|
input.config = {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user