Fix for bug #8047: convert metaballs to mesh often has holes.

This commit is contained in:
2008-02-18 20:00:42 +00:00
parent ca79952dc0
commit 41b42b61d1

View File

@@ -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;