Fix weight paint Blur, Smear and Average breakage in multi-paint mode.
authorAlexander Gavrilov <angavrilov@gmail.com>
Sun, 1 Oct 2017 07:00:14 +0000 (10:00 +0300)
committerAlexander Gavrilov <angavrilov@gmail.com>
Sun, 1 Oct 2017 07:00:34 +0000 (10:00 +0300)
commit88a08ef8ad4149c5f6d2badf6d9a1e55f096fb92
treecbc4fb2a0927258754709cf8a20f19b3049e03d0
parente249dfd0f6707bebde21f81d033647d18e611eea
Fix weight paint Blur, Smear and Average breakage in multi-paint mode.

This is most pronounced in Auto-Normalize + Multi-Paint. Unlike
vertex paint, the weights being painted on in weight paint mode
don't necessarily correspond to the weight actually stored in
any one vertex group, and may instead be a computed aggregate.

This restores original code behavior lost in rB4f616c93f7cb.
source/blender/editors/sculpt_paint/paint_vertex.c