0000633: Mesh Boolean operations all return empty mesh

This commit is contained in:
wmayer 2012-04-11 11:23:02 +02:00
parent 7d54d03034
commit c6b5ef3c81

View File

@ -158,7 +158,7 @@ MeshGeomFacet AbstractPolygonTriangulator::GetTriangle(const MeshPointArray& poi
bool AbstractPolygonTriangulator::TriangulatePolygon()
{
try {
if (this->_points.size() != this->_indices.size()) {
if (!this->_indices.empty() && this->_points.size() != this->_indices.size()) {
Base::Console().Log("Triangulation: %d points <> %d indices\n", _points.size(), _indices.size());
return false;
}