rgthree-comfy
rgthree-comfy copied to clipboard
Bypass & Mute with one button?
Here's an example workflow I'm constructing. You can see here, that I have multiple controlnet apply nodes daisy-chained, hooked up to a fast bypasser (blue). Though, unless the image preview is muted (red), the preprocessor will still run.
How might you solve this?
There isn't a super elegant solution using bypass. However, I almost exclusively use Groups to group all nodes that take an action, and then use the Fast Groups Muter to mute them all and the "bypassing" comes from a Context coming out of the group going to a switch, and a prior context going to the same switch, at a lower priority. Thus, if the group is unmuted, then its context will be chosen.
You could do the same here, and it would look like this:
(and a bit cleaner when all collapsed up):
Alternatively, if you really wanted to avoid using Context and Context Switch, you could have separate Fast Actions Buttons for bypass & muting as one node, and enabling as another, for each ControlNet. This feels a bit more cumbersome, but is possible. I do plan to enhance the Fast Actions Button, but this is what you could do now:
Fast Group Bypasser would probably work too (without the context). Isn't a leaf node essentially "muted" if it's bypassed? I read that somewhere. Let me check to see if the whole group is bypassed, if it still activates the preprocessor.
I feel like I'm spending more time designing this as a dashboard than I am creating content 😂 . Still fun though.