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:
Laurent Rineau 2018-03-15 15:27:07 +01:00
parent af6d9ab3bb
commit 9708c41ad1
1 changed files with 1 additions and 1 deletions

View File

@ -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))
)