diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-21 01:38:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-21 01:38:55 +0400 |
commit | 24eedb2175896dd5d7e145486f3f3c6455511fca (patch) | |
tree | ea516ee8892908cd45e5276d82425ce93c016d75 /source/blender/modifiers | |
parent | 37542017209bf831235fb1645d31b0275642da87 (diff) |
vertex group option for lattice, needed for applying a lattice to a beard/moustache without moving the roots about.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_solidify.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c index d56102f2250..adabf0ff04c 100644 --- a/source/blender/modifiers/intern/MOD_solidify.c +++ b/source/blender/modifiers/intern/MOD_solidify.c @@ -213,10 +213,8 @@ static DerivedMesh *applyModifier(ModifierData *md, /* weights */ MDeformVert *dvert= NULL, *dv= NULL; - int defgrp_index= -1; int defgrp_invert = ((smd->flag & MOD_SOLIDIFY_VGROUP_INV) != 0); - - defgrp_index= defgroup_name_index(ob, smd->defgrp_name); + int defgrp_index= defgroup_name_index(ob, smd->defgrp_name); if (defgrp_index >= 0) dvert = dm->getVertDataArray(dm, CD_MDEFORMVERT); |