0000633: Mesh Boolean operations all return empty mesh

This commit is contained in:
wmayer
2012-04-11 11:23:02 +02:00
parent 14d91461ce
commit 46208ad4bb

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