diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/csgops.cc | 2 | ||||
-rw-r--r-- | src/dxftess-cgal.cc | 2 | ||||
-rw-r--r-- | src/polyset.cc | 2 | ||||
-rw-r--r-- | src/projection.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/csgops.cc b/src/csgops.cc index 55d91d2..8c295f9 100644 --- a/src/csgops.cc +++ b/src/csgops.cc @@ -118,7 +118,7 @@ CGAL_Nef_polyhedron CsgNode::render_cgal_nef_polyhedron() const cgal_nef_cache.insert(cache_id, new cgal_nef_cache_entry(N), N.weight()); } catch (CGAL::Assertion_exception e) { - PRINTF("ERROR: Illegal polygonal object - make sure all polygons are defined with the same winding order. Skipping affected object."); + PRINTF("CGAL error: %s", e.what()); } CGAL::set_error_behaviour(old_behaviour); diff --git a/src/dxftess-cgal.cc b/src/dxftess-cgal.cc index 2e80fea..adb7e9a 100644 --- a/src/dxftess-cgal.cc +++ b/src/dxftess-cgal.cc @@ -158,7 +158,7 @@ void dxf_tesselate(PolySet *ps, DxfData *dxf, double rot, bool up, bool /* do_tr } catch (CGAL::Assertion_exception e) { - PRINTF("ERROR: Polygon intersection detected. Skipping affected polygons."); + PRINTF("CGAL error: %s", e.what()); CGAL::set_error_behaviour(old_behaviour); return; } diff --git a/src/polyset.cc b/src/polyset.cc index cccdaad..e34aeb3 100644 --- a/src/polyset.cc +++ b/src/polyset.cc @@ -665,7 +665,7 @@ CGAL_Nef_polyhedron PolySet::render_cgal_nef_polyhedron() const return CGAL_Nef_polyhedron(N); } catch (CGAL::Assertion_exception e) { - PRINTF("ERROR: Illegal polygonal object - make sure all polygons are defined with the same winding order. Skipping affected object."); + PRINTF("CGAL error: %s", e.what()); CGAL::set_error_behaviour(old_behaviour); return CGAL_Nef_polyhedron(); } diff --git a/src/projection.cc b/src/projection.cc index f41ba56..d87b366 100644 --- a/src/projection.cc +++ b/src/projection.cc @@ -124,7 +124,7 @@ PolySet *ProjectionNode::render_polyset(render_mode_e) const } } catch (CGAL::Assertion_exception e) { - PRINTF("ERROR: Illegal polygonal object - make sure all polygons are defined with the same winding order. Skipping affected object."); + PRINTF("CGAL error: %s", e.what()); CGAL::set_error_behaviour(old_behaviour); return ps; } |