Operating system: Win7/Win10
Graphics card: gtx1070/hd620
(2.80, 893fa598319e, blender2.8, 2019-02-25)
Worked: (optional) Im pretty sure on some older versions of 2.79 it worked differently)
Short description of error
Some of blender actions like changing brush size/brush strenght are considered in blenders undo/redo history.
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
- Create any mesh, cube is fine
- Go into sculpt mode/dynamic topology or texture paint
- Make few strokes
- Change brush size few times
- Make another stroke
- Hit undo and observe what is happening
You should see that it will undo your stroke from step 5. then when you hit another undo, there will be nothing changed since you were changing brush size and then after few more undos you will undo strokes from step 3.
Exact same problem when you redo.
How it should work.
Things like changing brush size/brush strenght/any other change like color picking and many more should not be in undo/redo list.