mirror of https://github.com/CGAL/cgal
A trivial fix for the data set, but does not work when the face normals are slightly perturbed
This commit is contained in:
parent
924bfdf2c3
commit
125a0d6041
|
|
@ -516,6 +516,9 @@ compute_vertex_normal_most_visible_min_circle(typename boost::graph_traits<Polyg
|
|||
if(f == boost::graph_traits<PolygonMesh>::null_face())
|
||||
continue;
|
||||
|
||||
if((! incident_faces.empty()) && (get(face_normals, incident_faces.back()) == get(face_normals, f)) )
|
||||
continue;
|
||||
|
||||
incident_faces.push_back(f);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue