Fixed some return type in the MVC post processor

This commit is contained in:
Mael Rouxel-Labbé 2016-10-21 18:16:11 +02:00
parent 8afe8af986
commit 320e40d6c4
1 changed files with 2 additions and 1 deletions

View File

@ -706,7 +706,8 @@ public:
const bool is_param_border_simple = is_polygon_simple(mesh, bhd, uvmap); const bool is_param_border_simple = is_polygon_simple(mesh, bhd, uvmap);
// not sure how to handle non-simple yet // not sure how to handle non-simple yet
CGAL_postcondition(is_param_border_simple); if(!is_param_border_simple)
return Base::ERROR_NON_CONVEX_BORDER;
std::cout << "Border is simple!" << std::endl; std::cout << "Border is simple!" << std::endl;
// Triangulate the holes in the convex hull of the polygon // Triangulate the holes in the convex hull of the polygon