Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-04-21 01:38:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-21 01:38:55 +0400
commit24eedb2175896dd5d7e145486f3f3c6455511fca (patch)
treeea516ee8892908cd45e5276d82425ce93c016d75 /source/blender/modifiers
parent37542017209bf831235fb1645d31b0275642da87 (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.c4
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);