diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-12-06 02:25:45 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-12-06 02:25:45 +0300 |
commit | 406cc2cce0c78c1c2799c43040baf95873e129b5 (patch) | |
tree | f733f400edb3325c8c6a23e2885a94b0e0a537ef /source/blender/src/multires.c | |
parent | 1b5e0e3def8971a40b22fb8d94d421342ac2173b (diff) |
Fixed broken triangle handling in multires.
Diffstat (limited to 'source/blender/src/multires.c')
-rw-r--r-- | source/blender/src/multires.c | 3 |
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; |