diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-24 14:59:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-24 14:59:57 +0400 |
commit | 4a2ca34bead221c594a6facd8cd8830f6b56bcc5 (patch) | |
tree | 224821a266f736e35ce73422ac4184a9878074df /source/blender/editors | |
parent | 69515adbc97f58a9d3b7f033e38d5da80c67964a (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 6bef169c4ed..d9a203efe28 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -1584,7 +1584,7 @@ static void vgroup_fix(Scene *scene, Object *ob, float distToBe, float strength, } static void vgroup_levels_subset(Object *ob, bool *vgroup_validmap, const int vgroup_tot, const int UNUSED(subset_count), - const float offset, const float gain) + const float offset, const float gain) { MDeformWeight *dw; MDeformVert *dv, **dvert_array = NULL; @@ -1605,7 +1605,7 @@ static void vgroup_levels_subset(Object *ob, bool *vgroup_validmap, const int vg } j = vgroup_tot; - while(j--) { + while (j--) { if (vgroup_validmap[j]) { dw = defvert_find_index(dv, j); if (dw) { @@ -1718,7 +1718,6 @@ static void vgroup_invert_subset(Object *ob, bool *vgroup_validmap, const int vg MDeformWeight *dw; MDeformVert *dv, **dvert_array = NULL; int i, dvert_tot = 0; - const int def_nr = ob->actdef - 1; const int use_vert_sel = vertex_group_use_vert_sel(ob); ED_vgroup_give_parray(ob->data, &dvert_array, &dvert_tot, use_vert_sel); |