Commit: 4f1a6eb96f44aaf13217d806abed646cd2e3f470
Author: Campbell Barton
Date: Thu Mar 6 03:07:31 2014 +1100
https://developer.blender.org/rB4f1a6eb96f44aaf13217d806abed646cd2e3f470
Fix T38970: Invert weights remove weights option not working
Patch D382 from Henrik Aarnio
===================================================================
M source/blender/editors/object/object_vgroup.c
===================================================================
diff --git a/source/blender/editors/object/object_vgroup.c
b/source/blender/editors/object/object_vgroup.c
index 7a219f2..a7b5ba9 100644
--- a/source/blender/editors/object/object_vgroup.c
+++ b/source/blender/editors/object/object_vgroup.c
@@ -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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs