Fix error reporting when cgal mesh boolean crashes.

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

No files matched your search

+1 -2
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."));