Change weigth paint accumulate mechanics to fix problems with mirroring.
authorAlexander Gavrilov <alexander.gavrilov@jetbrains.com>
Tue, 3 Oct 2017 09:28:07 +0000 (12:28 +0300)
committerAlexander Gavrilov <alexander.gavrilov@jetbrains.com>
Tue, 3 Oct 2017 09:41:37 +0000 (12:41 +0300)
commit7c2d5eaacb70420b447107da29b114c9a62b294f
treeb6e28fcb5a651f743177c4cf4cbfcd276e2483e9
parent975ed05edbeee351661d05f3969af69dc7699b9c
Change weigth paint accumulate mechanics to fix problems with mirroring.

Restoring weights is problematic when the stroke overlaps its mirror.
It's better to simply compute the new weight based on the saved data
rather than restoring things, and check that the change is monotonic.

This way is also closer to how things worked before the merge.
source/blender/editors/sculpt_paint/paint_vertex.c