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:
authorJoseph Eagar <joeedh@gmail.com>2009-09-03 00:36:48 +0400
committerJoseph Eagar <joeedh@gmail.com>2009-09-03 00:36:48 +0400
commit564b9eabf6f4162c7b1b0221ccc298ce3c07eba4 (patch)
tree285ac38177bb756e190b167286c21c89f7a993c2
parentcdce0f03c8662211f38bf7586d79dce500eb392e (diff)
compile fix
-rw-r--r--source/blender/blenkernel/intern/mesh.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c
index 5153cc205b3..829c23db342 100644
--- a/source/blender/blenkernel/intern/mesh.c
+++ b/source/blender/blenkernel/intern/mesh.c
@@ -98,7 +98,9 @@ static void mesh_ensure_tesselation_customdata(Mesh *me)
{
CustomData_free(&me->fdata, me->totface);
- me->mface = (void*)me->mtface = (void*)me->mcol = NULL;
+ me->mface = NULL;
+ mt->mtface = NULL;
+ me->mcol = NULL;
me->totface = 0;
memset(&me->fdata, 0, sizeof(&me->fdata));