Fix error reporting when cgal mesh boolean crashes.

Change error report when catching SEH on cgal mesh boolean.
This commit is contained in:
tamasmeszaros 2021-06-22 18:13:35 +02:00
parent 48cd3b21b6
commit 2096a6dbbf
2 changed files with 6 additions and 3 deletions

View file

@ -453,8 +453,7 @@ void SLAPrint::Steps::drill_holes(SLAPrintObject &po)
sla::remove_inside_triangles(mesh_view, interior, exclude_mask);
}
} catch (const std::runtime_error &) {
} catch (const Slic3r::RuntimeError &) {
throw Slic3r::SlicingError(L(
"Drilling holes into the mesh failed. "
"This is usually caused by broken model. Try to fix it first."));