Skip to content

Commit

Permalink
allow muting group node
Browse files Browse the repository at this point in the history
  • Loading branch information
pythongosssss committed Dec 3, 2023
1 parent 496de08 commit 44d8aba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,8 @@ export class ComfyApp {
const output = {};
// Process nodes in order of execution
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) {
if (node.isVirtualNode) {
continue;
Expand Down

0 comments on commit 44d8aba

Please sign in to comment.