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>2011-05-13 17:17:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-13 17:17:30 +0400
commit068c62701375e51445a768ab69b74802338f57c1 (patch)
tree2aca17f045376bde24057f70e8c12fc37ab74b66 /source/blender/modifiers/intern/MOD_build.c
parent73e2b88f6296c83aaff2b47ed9e1d5debbd2e9df (diff)
remove unused vars
Diffstat (limited to 'source/blender/modifiers/intern/MOD_build.c')
-rw-r--r--source/blender/modifiers/intern/MOD_build.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_build.c b/source/blender/modifiers/intern/MOD_build.c
index 84cb8caec43..fbe1548eab1 100644
--- a/source/blender/modifiers/intern/MOD_build.c
+++ b/source/blender/modifiers/intern/MOD_build.c
@@ -89,7 +89,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
int numFaces, numEdges, numLoops;
int *vertMap, *edgeMap, *faceMap;
float frac;
- MPoly *mpoly, *mpolys, *mpolyd;
+ MPoly *mpolys, *mpolyd;
MLoop *mld, *mloops, *mls, *mloopd;
GHashIterator *hashIter;
/* maps vert indices in old mesh to indices in new mesh */
@@ -207,6 +207,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
}
} else {
int numVerts = dm->getNumVerts(dm) * frac;
+ numLoops= 0;
if(bmd->randomize)
BLI_array_randomize(vertMap, sizeof(*vertMap),