diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-18 23:00:42 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-18 23:00:42 +0300 |
commit | 41b42b61d151c7a95e5e37ea265de147864fd8e9 (patch) | |
tree | 8f255c952c95e31642fb644d1b5673d2770d86c6 /source/blender | |
parent | ca79952dc013c40e08f11f8e79976ece8a04d15a (diff) |
Fix for bug #8047: convert metaballs to mesh often has holes.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 464af9a3359..f3fac8d997a 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -770,8 +770,7 @@ void mball_to_mesh(ListBase *lb, Mesh *me) mface->v4= index[3]; mface->flag= ME_SMOOTH; - if(mface->v3==mface->v4) - mface->v4= 0; + test_index_face(mface, NULL, 0, (mface->v3==mface->v4)? 3: 4); mface++; index+= 4; |