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:
authorNicholas Bishop <nicholasbishop@gmail.com>2006-12-06 02:25:45 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2006-12-06 02:25:45 +0300
commit406cc2cce0c78c1c2799c43040baf95873e129b5 (patch)
treef733f400edb3325c8c6a23e2885a94b0e0a537ef /source/blender/src/multires.c
parent1b5e0e3def8971a40b22fb8d94d421342ac2173b (diff)
Fixed broken triangle handling in multires.
Diffstat (limited to 'source/blender/src/multires.c')
-rw-r--r--source/blender/src/multires.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/multires.c b/source/blender/src/multires.c
index ca7428dcab5..420e4743a69 100644
--- a/source/blender/src/multires.c
+++ b/source/blender/src/multires.c
@@ -77,7 +77,7 @@
#include <string.h>
/* Only do deformverts */
-CustomDataMask vdata_mask[]= {0, 0, 1, 0, 0, 0, 0, 0, 0, 0};
+CustomDataMask vdata_mask= CD_MASK_MDEFORMVERT;
/* editmesh.h */
int multires_test()
@@ -525,6 +525,7 @@ void multires_get_face(MultiresFace *f, EditFace *efa, MFace *m)
tmp.v1= efa->v1->tmp.l;
tmp.v2= efa->v2->tmp.l;
tmp.v3= efa->v3->tmp.l;
+ tmp.v4= 0;
if(efa->v4) tmp.v4= efa->v4->tmp.l;
tmp.flag= efa->flag;
if(efa->f & 1) tmp.flag |= ME_FACE_SEL;