mirror of https://github.com/CGAL/cgal
Off-topic, Mesh_3: fix a bug in detect_features
The commit cba3b1c20c from the PR #2336
was incomplete: there are two overloads of `sharp_call(..)` and it
fixed only one occurrence.
This commit is contained in:
parent
af6d9ab3bb
commit
9708c41ad1
|
|
@ -225,7 +225,7 @@ template<typename GT,
|
|||
BOOST_FOREACH(edge_descriptor ed, edges(pmesh))
|
||||
{
|
||||
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<PolygonMesh, GT>(pmesh,he,cos_angle))
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue