Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
d761eaa4
Commit
d761eaa4
authored
Oct 06, 2023
by
pythongosssss
Browse files
if the output type is an array, use combo
parent
b9b178b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
web/scripts/app.js
web/scripts/app.js
+2
-1
No files found.
web/scripts/app.js
View file @
d761eaa4
...
...
@@ -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
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment