Fix T38970: Invert weights remove weights option not working
Patch D382 from Henrik Aarnio
This commit is contained in:
parent
dd13bbca15
commit
4f1a6eb96f
Notes:
blender-bot
2023-02-14 11:03:55 +01:00
Referenced by issue #38970, Weight Tools Panel > Invert Tool - Remove Weights Bug?
|
@ -2173,12 +2173,12 @@ static void vgroup_invert_subset(Object *ob,
|
|||
if (use_mirror && use_vert_sel) {
|
||||
ED_vgroup_parray_mirror_sync(ob, dvert_array, dvert_tot,
|
||||
vgroup_validmap, vgroup_tot);
|
||||
}
|
||||
|
||||
if (auto_remove) {
|
||||
ED_vgroup_parray_remove_zero(dvert_array, dvert_tot,
|
||||
vgroup_validmap, vgroup_tot,
|
||||
0.0f, false);
|
||||
}
|
||||
if (auto_remove) {
|
||||
ED_vgroup_parray_remove_zero(dvert_array, dvert_tot,
|
||||
vgroup_validmap, vgroup_tot,
|
||||
0.0f, false);
|
||||
}
|
||||
|
||||
MEM_freeN(dvert_array);
|
||||
|
|
Loading…
Reference in New Issue