...and outputs
This commit is contained in:
@@ -61,7 +61,8 @@ export function iterateNodeDefInputs(def: ComfyNodeDef): Iterable<[string, Comfy
|
||||
}
|
||||
|
||||
export function iterateNodeDefOutputs(def: ComfyNodeDef): Iterable<ComfyNodeDefOutput> {
|
||||
return range(def.output.length).map(i => {
|
||||
const outputCount = def.output ? def.output.length : 0;
|
||||
return range(outputCount).map(i => {
|
||||
return {
|
||||
type: def.output[i],
|
||||
name: def.output_name[i] || def.output[i],
|
||||
|
||||
Reference in New Issue
Block a user