What is it for?
- Comparing an image with and without manual corrections
- Temporarily disabling a patch
- Switching a patch with a Bool condition
Overview
Turns a patch ON or OFF without deleting it. Compare results with and without manual corrections or apply a correction conditionally while retaining the patch itself.
Usage tips
- Think of it as
gatefor patches. OFF emits an empty patch, meaning no correction. - It is useful for review: each time you adjust generation, toggle the patch to reassess whether the correction is still needed.
- Drive
enabledwith a Bool wire for conditional application, such as changing the correction by seed.
Related nodes
pixel_patchโ supplies the patch to togglepatch_applyโ applies it downstreamgateโ the equivalent concept for general valuescompareโ builds the condition for enabled
Notes
- A connected
enabledinput takes priority over the parameter. - OFF does not delete the patch; it emits an empty patch with the same target dimensions.
- If
patchis unconnected, the node emits an empty patch, so connecting it directly toPatchApplyis safe.
Examples
Pixel Patch.patch -> PatchToggle -> PatchApply- Compare the result with and without the manual correction immediately.
Compare -> PatchToggle.enabled- Enable the patch conditionally.