Eraser Shift plugin

Purpose
Shortcuts for Brush and Eraser

Link

Preview
float_brush float_eraser

Notes

  • No Shortcut keys are set by default, user must select keys
  • Press Brush mode to paint
  • Press Eraser mode to erase
  • Switching modes reverts back to the last Preset of the other mode
  • Using E shortcut will swap the blending mode but not the Brush/Eraser mode of the plugin
  • Creates a Eraser tool behavior with shortcuts
9 Likes

I just tried it and it works great.

I have 2 observations:

  • The plugin does not work with the dynamic brush.

  • It would be nice if pressing the shortcut again takes you to the other mode, like in the “ten brushes” plugin.

1 Like

Tweaked it should be working now.

I don’t use ten brushes. no idea what that mode is.

Pressing the shortcut again takes you to the previous brush, that makes it convenient as it is not necessary to press the brush shortcut again.

2 Likes

But that would make it toggle between two states with both keys. Instead of activate the respective state with the respective key. If I made it like that it would just be the eraser key toggling between presets and would be just a toggle state to replace the shortcut key E. here you can have harmony even using all 3 keys at the same time if you want even.

And mimicking the Brush tool and Eraser tool behavior from other softwares was the whole point.

1 Like

True it would be contrary to the original purpose, still I really like the plugin, I just wish it would remember the brush that was used in both modes when starting the program again.

I don’t remember but I think the Three slots plugin could do that, I am attaching it for reference only.

1 Like

It’s my go-to plugin now for brush switching, thanks very much @EyeOdin
Overall, I think this is a very elegant plugin. :+1:

  1. I do like @SchrodingerCat’s proposal to also switch to the previous preset of the active slot if you hit the hotkey for the slot again. That said, it could be a feature that you would have to enable in the plugin’s settings.

  2. Is it possible to add another slot for the clone engine brushes or the distort engine brushes to get quick access to such tools too? That would be very convenient to get to specialised brushes.

  3. Could you make make sure that the shortcuts explicitly switch to the brush tool? If I have the rectangular selection tool active and hit the Brush/ Eraser hotkey, I’d like to activate the brush tool too.

1 Like

1, I can do that but it will have to be a new shortcut.
2. I not gonna do that. I use the API I am not one to hack the UI and cause extreme lag.
3. My first version did that but then it did not work with other brush tools as noted by Schroedinger so I took it off for compatibility.

2 Likes
  1. Do I understand you correctly that it will be something like this:
  • Brush shortcut
  • Eraser shortcut
  • Brush shortcut with switching to last preset function (= new shortcut)
  • Eraser shortcut with switching to last preset function (= new shortcut)

That sounds best to me too indeed.

  1. In understand, if it’s not in the API it’s not worth it.
  2. Is there any way around this like adding the function explicitly for the normal brush tool? It would bloat the addon though…

Is it possible to implement that the plugin also jumps to the brush tool if its currently not selected?

Right now if you use for example the lasso tool, you would need an extra shortcut to go to the brush tool and than you could use these two shortcuts.
Better would be if i press the shortcut for the eraser that it also in the first step checks if the brush tool is selected or not and if not it select it and than goes to the ereaser mode.