-----
Bugfix #6847: Boolean code was marking some valid faces as "PHANTOM" when the
three vertices were nearly co-linear (according to its tests).  This
introduced holes into one or both meshes which could then result in either
holes in the final results and/or spurrious faces which should have been
split.

This commit removes the code in question until either an alternative test is
coded.
This commit is contained in:
Ken Hughes 2007-06-21 21:58:04 +00:00
parent 3d4a9c1c43
commit 133c7fd7c7

@ -427,11 +427,17 @@ void BOP_mergeVertexs(BOP_Mesh *mesh, unsigned int firstFace)
// v2 ~= v3
mesh->replaceVertexIndex(v2,v3);
} else {
#if 0
/*
* for now, don't just remove "co-linear" faces; some of these faces
* being removed are real and cause other things to break
*/
// all differents
if (BOP_collinear(vertex1,vertex2,vertex3)) {
// collinear triangle
face->setTAG(PHANTOM);
}
#endif
}
}
}