diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index c0b0303404e..265ef222d56 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -1828,13 +1828,13 @@ static void vgroup_smooth_subset( float tot_factor = 1.0f; \ if (expand_sign == 1) { /* expand */ \ if (weight_other < weight_accum_prev[i]) { \ - weight_other = (weight_accum_prev[i_other] * iexpand) + (weight_other * expand); \ + weight_other = (weight_accum_prev[i] * expand) + (weight_other * iexpand); \ tot_factor = iexpand; \ } \ } \ else if (expand_sign == -1) { /* contract */ \ if (weight_other > weight_accum_prev[i]) { \ - weight_other = (weight_accum_prev[i_other] * iexpand) + (weight_other * expand); \ + weight_other = (weight_accum_prev[i] * expand) + (weight_other * iexpand); \ tot_factor = iexpand; \ } \ } \