Let's say you're using the GIMP paintbrush with transparency, or with pressure opacity, with a tablet. If you draw over the same spot multiple times without releasing the mouse button/stylus, GIMP will not add "paint" to it. But if you release MB/stylus and go over that spot again, the "paint" on that spot will double. What I want is for this not to happen.
So basically I want to make GIMP act as if you've never released the mouse button. This could be done by looking at each pixel being drawn on, and setting its opacity to max{current opacity, paintbrush opacity}.
Note: while this can be done by using multiple layers, or by some other hacky method, it would be way too inconvenient for regular use (like digital painting). The goal is to make the paintbrush tool only draw when its opacity exceeds the opacity of the pixel being drawn on.
Thanks!