From 575f3c4d6d12aae4639a8098e69685fdcb8c0a52 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Thu, 29 Dec 2011 13:52:02 +0100 Subject: Revert "Plug CGAL-3.6 exception crash reported by Don". This check wasn't effective as no code actually threw an exception. This reverts commit 1fbe453cae84788689b0502526ecded6a25a69d4. diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc index ed2cca6..a6b2f06 100644 --- a/src/CGALEvaluator.cc +++ b/src/CGALEvaluator.cc @@ -269,15 +269,7 @@ Response CGALEvaluator::visit(State &state, const TransformNode &node) node.matrix(0,0), node.matrix(0,1), node.matrix(0,2), node.matrix(0,3), node.matrix(1,0), node.matrix(1,1), node.matrix(1,2), node.matrix(1,3), node.matrix(2,0), node.matrix(2,1), node.matrix(2,2), node.matrix(2,3), node.matrix(3,3)); - CGAL::Failure_behaviour old_behaviour = CGAL::set_error_behaviour(CGAL::THROW_EXCEPTION); - try { - N.p3->transform(t); - } - catch (CGAL::Assertion_exception e) { - // CGAL-3.6 sometimes throws an exception here - PRINTF("CGAL error in CGAL_Nef_polyhedron3::transform(): %s", e.what()); - } - CGAL::set_error_behaviour(old_behaviour); + N.p3->transform(t); } } else { -- cgit v0.10.1