Browse Source

Merge branch 'widget-input-updates' of https://github.com/pythongosssss/ComfyUI

pull/1703/head
comfyanonymous 1 year ago
parent
commit
5b828258f1
  1. 3
      web/scripts/app.js

3
web/scripts/app.js

@ -1306,7 +1306,8 @@ export class ComfyApp {
}
for (const o in nodeData["output"]) {
const output = nodeData["output"][o];
let output = nodeData["output"][o];
if(output instanceof Array) output = "COMBO";
const outputName = nodeData["output_name"][o] || output;
const outputShape = nodeData["output_is_list"][o] ? LiteGraph.GRID_SHAPE : LiteGraph.CIRCLE_SHAPE ;
this.addOutput(outputName, output, { shape: outputShape });

Loading…
Cancel
Save