diff options
author | Bastien Montagne <bastien@blender.org> | 2020-11-03 14:09:00 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-11-03 14:09:00 +0300 |
commit | bc0a6b0400ceeda971384bd88014ea7eb6007ad0 (patch) | |
tree | 2e3bfdf0b76b6a57cf9ce7dcb0700a0c2923e533 /source/blender/windowmanager | |
parent | 5610ccdc080497042a24592432ade575e2fab489 (diff) |
Fix T71759: Sculpt/Vertex/Weight Paint Brush Size Gets Undone After Undoing a Stroke.
Add code preserving scene's toolsettings accross undo.
IDPointers are dealt with special care, we try to keep existing ones for
some (like brushes) when possible.
Note that this covers ToolSettings, Brushes and Palettes currently.
I'm not especially happy about how this new code mixes with existing
'foreach_id' one, in particular in scene. But cannot think of a better,
more generic way to do it currently.
Maniphest Tasks: T71759
Differential Revision: https://developer.blender.org/D9311
Diffstat (limited to 'source/blender/windowmanager')
0 files changed, 0 insertions, 0 deletions