InversedSwitch(Any) not increasing number of outputs after connecting first output (in ) # 953 #946 In the latest ComfyUI_frontend version, output is not appended as expected
This commit is contained in:
@@ -403,6 +403,9 @@ app.registerExtension({
|
||||
let slot_i = 1;
|
||||
for (let i = 0; i < this.outputs.length; i++) {
|
||||
this.outputs[i].name = `output${slot_i}`
|
||||
if (this.outputs[i].slot_index === undefined) {
|
||||
this.outputs[i].slot_index = i;
|
||||
}
|
||||
slot_i++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user