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:
authorJoshua Leung <aligorith@gmail.com>2008-02-24 14:16:37 +0300
committerJoshua Leung <aligorith@gmail.com>2008-02-24 14:16:37 +0300
commit824a714b470b4648b168410a61277bef5a50c81a (patch)
treeb4fbf8781cb3b5d1af9e8e3992b96437a2ef986e /source/blender/blenkernel/intern/cloth.c
parent54f83a423ad0669f3b3187eed518cb36ab6d5dc6 (diff)
Purge of compiler warnings... (hopefully everything still compiles, there are still more to remove)
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
-rw-r--r--source/blender/blenkernel/intern/cloth.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/cloth.c b/source/blender/blenkernel/intern/cloth.c
index ec128bc3a02..24def8211f1 100644
--- a/source/blender/blenkernel/intern/cloth.c
+++ b/source/blender/blenkernel/intern/cloth.c
@@ -277,20 +277,16 @@ DerivedMesh *CDDM_create_tearing ( ClothModifierData *clmd, DerivedMesh *dm )
DerivedMesh *result = NULL;
unsigned int i = 0, a = 0, j=0;
int numverts = dm->getNumVerts ( dm );
- int numedges = dm->getNumEdges ( dm );
int numfaces = dm->getNumFaces ( dm );
MVert *mvert = CDDM_get_verts ( dm );
- MEdge *medge = CDDM_get_edges ( dm );
MFace *mface = CDDM_get_faces ( dm );
MVert *mvert2;
MFace *mface2;
- unsigned int numtris=0;
- unsigned int numquads=0;
EdgeHash *edgehash = NULL;
Cloth *cloth = clmd->clothObject;
- ClothSpring *springs = cloth->springs;
+ ClothSpring *springs = (ClothSpring *)cloth->springs;
unsigned int numsprings = cloth->numsprings;
// create spring tearing hash