hdrview
hdrview copied to clipboard
Bug in painting undo
How to reproduce:
- Click on the interface somewhere, like just above a menu bar button
- drag mouse over image view
- upon releasing mouse a brush stroke is painted from the previously registered mouse position to the mouse release position
- history is not updated, so cannot be undo
I suspect the undo state is updated on mouse down on imageview (but it doesn't happen here since the mouse down is on a different UI element). the mouse up still paints onto the image, even though an active painting start command wasn't registered.