Separate Brush/Eraser Plugin

Separate Brush/Eraser


Makes Krita treat the brush and eraser as if they’re separate tools. The brush and eraser keep track of presets, size, opacity, flow, etc separately. All added functions can be found under Tools > Separate Brush and Eraser in the shortcuts menu.

  • Activate Eraser: Turns the eraser on for the current tool and switches over to the current eraser preset
  • Deactivate Eraser: Turns the eraser off for the current tool and switches over to the current brush preset
  • Toggle Eraser: Toggles the eraser for the current tool without switching brush presets (default krita behavior)
  • Switch to Brush: Switches to the freehand brush tool in brush mode and activates the current brush preset
  • Switch to Eraser: Switches to the freehand brush tool in erase mode and activates the current eraser preset

I’d suggest binding hotkeys to Switch to Brush / Switch to Eraser, they most closely mimic the behavior of other painting programs.

If you click the eraser in the top bar, the eraser will toggle on/off for the current tool without changing presets (ie. what Krita does by default). This is useful if you find yourself wanting to swap your current brush into erase mode in the normal Krita way.

If you switch from the brush tool to another tool the eraser will automatically be deactivated unless you’re holding shift (this allows you to use the Photoshop-compatible shift-click for straight line shortcut).

Download it here! https://github.com/ollyisonit/krita-separate-brush-eraser

If this implementation isn’t to your taste but you still want a separate eraser tool, check out the PET (Plugin as Eraser Tool) plugin. It provides similar functionality but focuses more on splitting brushes into separate brush/eraser categories.
https://krita-artists.org/t/proof-of-concept-plugin-as-eraser-tool-pet/48233

If you run into problems, I’d appreciate if you submitted them to the issues page on GitHub. It’s much easier for me to track things that way.

10 Likes

Thank you for another plugin shared with the community!
:man_bowing:
Michelist

1 Like

I created an account to thank you for this, you’re a legend! this has been the only lasting issue I’ve had switching from Photoshop and i’ve been looking for this for years.

Edit, side note: Toggle eraser seems like it still saves a separate brush preset (unless I’m not understanding it right)