Fix crash when all the holes fail to drill

This commit is contained in:
tamasmeszaros 2021-07-13 16:02:58 +02:00
parent 47f265f77f
commit 782e220890
3 changed files with 16 additions and 7 deletions

View file

@ -276,6 +276,11 @@ bool does_bound_a_volume(const CGALMesh &mesh)
return CGALProc::does_bound_a_volume(mesh.m);
}
bool empty(const CGALMesh &mesh)
{
return mesh.m.is_empty();
}
} // namespace cgal
} // namespace MeshBoolean