Animation: Remove the 'Weight Paint: Fix Deforms' operator #105237
The code of the 'Fix Deforms' operator was hard to read and inefficient, doing
O(num_vertices * num_vertex_groups) evaluations of the mesh. It caused multiple issues and got in the way of improvements to Blender, and seems to be used very little (if ever).
It was decided in last week's module meeting that this operator should be removed.
There is one static function that's no longer used but kept for now:
static bool vertex_group_mesh_with_dvert_poll(bContext *C) which returns
true if there is a vertex group that's actually used for deformation. If we're going to make a replacement operator for smoothing out vertex weights for deformations, this might come in handy. #105238 has been created to remind us that this function is there and might need deletion after all.
Better to just remove that function IMO-- it's checking for an invalid state (vertex group names should be removed by Blender when vertex group data is removed). But that matters very little compared to getting rid of everything else!
Better to just remove that function IMO-- it's checking for an invalid state (vertex group names should be removed by Blender when vertex group data is removed).
That's good enough a reason for me to remove the code.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?