diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-08 04:55:12 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-08 04:55:12 (GMT) |
commit | 4d1cf0d0a0f20b8e81a82328efad0960849b0694 (patch) | |
tree | ff4c695e7f108513a947d738d296ef31c3fea6d1 | |
parent | 673d73cf31fdafa0dc03876cde0db5b4aab10d1c (diff) |
Localization indicator of CGAL errors
-rw-r--r-- | src/CGALEvaluator.cc | 2 | ||||
-rw-r--r-- | src/cgalutils.cc | 2 | ||||
-rw-r--r-- | src/dxftess-cgal.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc index 440637a..34911b1 100644 --- a/src/CGALEvaluator.cc +++ b/src/CGALEvaluator.cc @@ -602,7 +602,7 @@ CGAL_Nef_polyhedron CGALEvaluator::evaluateCGALMesh(const PolySet &ps) } } catch (CGAL::Assertion_exception e) { - PRINTF("CGAL error: %s", e.what()); + PRINTF("CGAL error in CGA_Nef_polyhedron3(): %s", e.what()); CGAL::set_error_behaviour(old_behaviour); return CGAL_Nef_polyhedron(); } diff --git a/src/cgalutils.cc b/src/cgalutils.cc index 79e9f1f..bef873c 100644 --- a/src/cgalutils.cc +++ b/src/cgalutils.cc @@ -137,7 +137,7 @@ CGAL_Polyhedron *createPolyhedronFromPolySet(const PolySet &ps) P->delegate(builder); } catch (CGAL::Assertion_exception e) { - PRINTF("CGAL error: %s", e.what()); + PRINTF("CGAL error in CGAL_Build_PolySet: %s", e.what()); CGAL::set_error_behaviour(old_behaviour); } return P; diff --git a/src/dxftess-cgal.cc b/src/dxftess-cgal.cc index e4a4908..a587987 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("CGAL error: %s", e.what()); + PRINTF("CGAL error in dxf_tesselate(): %s", e.what()); CGAL::set_error_behaviour(old_behaviour); return; } |