diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h index 937d6f21260..973dff53010 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h @@ -191,7 +191,7 @@ template::edge_descriptor ed, edges(pmesh)) { typename boost::graph_traits::halfedge_descriptor he = halfedge(ed,pmesh); - if(is_border(he,pmesh) + if(is_border_edge(he,pmesh) || angle_in_deg == FT() || (angle_in_deg != FT(180) && internal::is_sharp(pmesh,he,cos_angle)) )