Fix undo overreach in various paint modes for #69760 and related. #117417
Open
Alexander Gavrilov
wants to merge 1 commits from
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
angavrilov/blender:pr-undo-fixes
into main
pull from: angavrilov/blender:pr-undo-fixes
merge into: blender:main
blender:main
blender:brush-assets-project
blender:blender-v3.6-release
blender:blender-v3.3-release
blender:universal-scene-description
blender:partial-write-refactor
blender:blender-v4.1-release
blender:blender-v3.6-temp_wmoss_animrig_public
blender:temp-sculpt-dyntopo
blender:gpencil-next
blender:anim/animation-id-113594
blender:blender-v4.0-release
blender:blender-projects-basics
blender:bridge-curves
blender:sculpt-blender
blender:asset-browser-frontend-split
blender:asset-shelf
blender:tmp-usd-python-mtl
blender:tmp-usd-3.6
blender:blender-v3.5-release
blender:blender-v2.93-release
blender:realtime-clock
blender:sculpt-dev
blender:bevelv2
blender:xr-dev
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
Alexander Gavrilov | 8ca49d2e3a |
Fix undo overreach in various paint modes for #69760 and related.
This tries to fix undo overreach on selection of vertex groups,
shape keys, uv maps, colors and attributes in various modes.
- The Vertex Paint mode is now a subtype of Sculpt, so it should
use a sculpt undo step on entering the mode, and property changes
shouldn't write undo steps.
- Sculpt undo modes were deliberately over-undoing color attribute
selection changes for some reason.
- The Weight Paint mode uses memfile, so it should save steps
for property changes, except for those excluded from undo,
e.g. by
|