Fix #126074: Sculping on a non-basis shape key modifies mesh #126107

Merged
Sean Kim merged 2 commits from Sean-Kim/blender:fix-126074 into main 2024-08-09 22:34:49 +02:00

2 Commits

Author SHA1 Message Date
ca871fc6b1 Add const, remove unnecessary comment 2024-08-09 13:32:00 -07:00
a6509addfb Fix #126074: Sculping on a non-basis shape key modifies mesh
All checks were successful
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
This commit prevents writing to the mesh when sculpting on a non-basis
shape key. Prior to this, we incorrectly were applying changes to the
base mesh, even though those changes were not visible with the shape
keys still active, causing new shape keys to have a copy of the deformed
mesh data.
2024-08-08 13:03:14 -07:00