Page MenuHome

Vertex/Weight Paint: Global undo causes brush & tool settings to be handled along with vertex paint data
Closed, DuplicatePublicTO DO

Description

Blender Version
Broken: blender-2.81-95f020c853d6
Broken: blender-2.82-bde328352be2

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

  1. Create a new scene.
  2. Select the cube and enter vertex paint mode.
  3. Pick a different color.
  4. Perform one stroke (i.e. click).
  5. Undo.

Expected: stroke is undone, new color selection remains.
Current: stroke is undone, color selection is also undone.

Event Timeline

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Invalid.EditedOct 15 2019, 1:37 AM

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.

Closing.

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?

William Reynish (billreynish) changed the subtype of this task from "Report" to "Bug".

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.

Stanislav Blinov (radcapricorn) renamed this task from Vertex Paint color selection doesn't create undo step to Vertex Paint: undoing paint stroke also undoes preceding tool changes.Jan 28 2020, 10:34 PM
Stanislav Blinov (radcapricorn) updated the task description. (Show Details)
Campbell Barton (campbellbarton) renamed this task from Vertex Paint: undoing paint stroke also undoes preceding tool changes to Vertex/Weight Paint: Global undo causes brush & tool settings to be handled along with vertex paint data.Jan 28 2020, 11:45 PM

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..?

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