bugfix: real geometry with bugs should evaluate with a dimension

export-menu
Marius Kintel 2014-01-03 23:06:56 -05:00
parent 56a8be7f24
commit 70026aa0b8
1 changed files with 2 additions and 2 deletions

View File

@ -708,7 +708,7 @@ CGAL_Nef_polyhedron CGALEvaluator::evaluateCGALMesh(const PolySet &ps)
PRINTB("Alternate construction failed. CGAL error in CGAL_Nef_polyhedron3(): %s", e.what());
}
CGAL::set_error_behaviour(old_behaviour);
return CGAL_Nef_polyhedron(N);
if (N) return CGAL_Nef_polyhedron(N);
}
return CGAL_Nef_polyhedron();
return CGAL_Nef_polyhedron(ps.is2d?2:3);
}