Vertex/Weight Paint: Global undo causes brush & tool settings to be handled along with vertex paint data
Short description of error
Picking a color to paint with, brush strength and radius, etc., are undone if the brush stroke following these changes is undone.
Exact steps for others to reproduce the error
- Create a new scene.
- Select the cube and enter vertex paint mode.
- Pick a different color.
- Perform one stroke (i.e. click).
Expected: stroke is undone, new color selection remains.
Current: stroke is undone, color selection is also undone.
Currently vertex/weight paint undo manages all data including brushes.
While we could support moving some settings outside of undo that's a feature request.
A bug in the design is still a bug. The behavior is unexpected, moreover it's inconsistent across Blender's paint modes:
- in texture paint, undoing a stroke does not undo preceding color selection
- in sculpt mode, undoing a stroke does not undo preceding strength selection
- in vertex color paint, undoing a stroke undoes preceding color selection
- in weight paint, undoing a stroke undoes preceding weight selection
Why should this even need a feature request?
I could reproduce the issue.
I am re-opening this. IMO this is very clearly a bug - in this case one undo action goes back two steps.
Maybe it's not trivial to fix, but it's still a bug.
Perhaps it could be worded differently, I'll edit the title and description.
Marking as TODO in the sculpt paint module, since this is working as intended (since undo was initially supported I would guess), even if it arguably should work differently.
This bug is really annoying, is there no hope for it..?
Note #69760 (Undo/Adjust Last Operation: vertex and weightpaint operators/strokes undo more then they should (change back any setting changed prior to execution)) is related (though that one is for operators)
This effects everything from the vertex group you have selected, to all brush settings. So you'll switch the bone you want to paint for, change the brush size and weight, make a mark and undo it, and all these settings will be undone. Extremely annoying.
I'm guessing someone saw how Photoshop will lump any layer setting changes in with the next brushstroke you make as a single undo and thought this was a feature, when it's something everyone complains about. I can't think of any other reasoning that would make this seem appealing.
am hoping D7518 will solve this
Deleting a branch is permanent. It CANNOT be undone. Continue?