Maniphest T71985

Undo bug in Sculpt mode
Closed, Duplicate

Assigned To
None
Authored By
Ethical Vegan (EthicalVegan)
Nov 27 2019, 10:15 PM
Tags
  • BF Blender
  • Sculpt, Paint & Texture
Subscribers
Campbell Barton (campbellbarton)
Ethical Vegan (EthicalVegan)
Pablo Dobarro (pablodp606)
Philipp Oeser (lichtwerk)
Regnas (Regnas)
Tokens
"Dislike" token, awarded by erickblender.

Description

Steps to reproduce the bug:

-Go in Sculpt mode
-Select the Draw brush, and set the Radius to 60px (this can be any number)
-Save the project
-Open the project (you are now directly in the Sculpt mode)
-Change the brush Radius to 200px (this can be any number)
-Make a single stroke on the mesh
-Undo this stroke -> BUG: the undo will take more time then usual, it will reset the Radius back to to 60px, and you will not be able to redo the stroke

Note: it is not just the Radius that is reset, but every other brush setting that you changed after opening the project

Note: if you did multiple strokes instead of a single stroke, let's say 2 strokes, then this will happen:
-first undo: works fine (it did undo the second stroke)
-second undo -> BUG
-first redo -> nothing
-second redo -> the 2 strokes appear at once (but the Radius is still reset back to 60px)

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.41

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: rB26bd5ebd42e3
Worked: (optional)

Short description of error
[Please fill out a short description of the error here]

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Event Timeline

Ethical Vegan (EthicalVegan) created this task.Nov 27 2019, 10:15 PM
Ethical Vegan (EthicalVegan) updated the task description.Nov 27 2019, 10:19 PM
Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 80.Nov 28 2019, 3:01 PM
Philipp Oeser (lichtwerk) added a project: Sculpt, Paint & Texture.
Philipp Oeser (lichtwerk) added subscribers: Pablo Dobarro (pablodp606), Campbell Barton (campbellbarton), Philipp Oeser (lichtwerk).

I would think this can be confirmed.

I know there have been a couple of changed to sculptmode undo, but this still seems wrong when changing brush radius.

@Pablo Dobarro (pablodp606) , @Campbell Barton (campbellbarton) : is this the way it is supposed to work?

Ethical Vegan (EthicalVegan) added a comment.Nov 30 2019, 11:30 PM

For sure it is not the way it is supposed to work. The workaround for this bug is to simply go out and back in the Sculpt mode every time you open a project that starts in Sculpt mode.

Erick Tukuniata (erickblender) awarded a token.Dec 1 2019, 12:37 AM
Erick Tukuniata (erickblender) rescinded a token.
Erick Tukuniata (erickblender) awarded a token.
Regnas (Regnas) added a subscriber: Regnas (Regnas).Dec 1 2019, 3:30 AM

Prolly same issue as this: T71759