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
44d8abad
Commit
44d8abad
authored
Dec 03, 2023
by
pythongosssss
Browse files
allow muting group node
parent
496de089
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 @
44d8abad
...
@@ -1704,7 +1704,8 @@ export class ComfyApp {
...
@@ -1704,7 +1704,8 @@ export class ComfyApp {
const
output
=
{};
const
output
=
{};
// Process nodes in order of execution
// Process nodes in order of execution
for
(
const
outerNode
of
this
.
graph
.
computeExecutionOrder
(
false
))
{
for
(
const
outerNode
of
this
.
graph
.
computeExecutionOrder
(
false
))
{
const
innerNodes
=
outerNode
.
getInnerNodes
?
outerNode
.
getInnerNodes
()
:
[
outerNode
];
const
skipNode
=
outerNode
.
mode
===
2
||
outerNode
.
mode
===
4
;
const
innerNodes
=
(
!
skipNode
&&
outerNode
.
getInnerNodes
)
?
outerNode
.
getInnerNodes
()
:
[
outerNode
];
for
(
const
node
of
innerNodes
)
{
for
(
const
node
of
innerNodes
)
{
if
(
node
.
isVirtualNode
)
{
if
(
node
.
isVirtualNode
)
{
continue
;
continue
;
...
...
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