5220caeabb
This PR implements the Weight Paint tools for GPv3. Tools: - Draw, for assigning weight to stroke points - Blur, smooths out weight using adjacent stroke point weights - Average, smooths weight using the average weight under the brush - Smear, like finger painting, drags weights in the direction of the brush - Sample weight, sets the brush weight to the weight under the cursor The weights are assigned to the active vertex group. When there is no active vertex group, a group is automatically created. When the Auto Normalize option is enabled, it is ensured that all bone-deforming vertex groups add up to the weight of 1.0. When a vertex group is locked, it's weights will not be altered by Auto Normalize. The PR already supports multi frame editing, including the use of a falloff (defined by a curve). The implementation is in accordance with the Weight Paint tools in GPv2. Pull Request: https://projects.blender.org/blender/blender/pulls/118347