Merge pull request #3203 from maxGimeno/Demo-Fix_sm_convex_triangulation-GF

Polyhedron_demo: Fix triangulate_convex_facet in Scene_surface_mesh_item
This commit is contained in:
Sebastien Loriot 2018-07-09 09:18:41 +02:00 committed by GitHub
commit dc4d891d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -832,7 +832,7 @@ void Scene_surface_mesh_item_priv::triangulate_convex_facet(face_descriptor fd,
SMesh::Halfedge_around_face_circulator he(halfedge(fd, *smesh_), *smesh_);
SMesh::Halfedge_around_face_circulator he_end = he;
while(next(*he, *smesh_) != prev(*he, *smesh_))
while(next(*he, *smesh_) != prev(*he_end, *smesh_))
{
++he;
vertex_descriptor v0(target(*he_end, *smesh_)),