diff options
author | Marius Kintel <marius@kintel.net> | 2013-01-08 18:26:25 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-01-08 18:26:25 (GMT) |
commit | 810f1a86189555023240507848ff9eebb161b8de (patch) | |
tree | 287007ba314d94a551d2ef721dfc796598fede6c /tests/cgaltest.cc | |
parent | 8cea6834f68cbbfb85c2568d388bf3b2e707cca5 (diff) |
Don't just ignore geometric nodes having zero volume/area - when doing difference/intersection, they tend to turn negative objects into positive ones. Fixes #221
Diffstat (limited to 'tests/cgaltest.cc')
-rw-r--r-- | tests/cgaltest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cgaltest.cc b/tests/cgaltest.cc index e4761db..b546286 100644 --- a/tests/cgaltest.cc +++ b/tests/cgaltest.cc @@ -122,7 +122,7 @@ int main(int argc, char **argv) CGAL_Nef_polyhedron N = cgalevaluator.evaluateCGALMesh(*root_node); current_path(original_path); - if (!N.empty()) { + if (!N.isNull()) { export_stl(&N, std::cout); } |