bugfix: use the correct halfedge for setting next pointer

This commit is contained in:
Sébastien Loriot 2017-07-12 13:34:32 +02:00
parent 3c330813b1
commit f0ce3644f8
1 changed files with 1 additions and 1 deletions

View File

@ -1283,7 +1283,7 @@ remove_patches(TriangleMesh& tm,
CGAL_assertion( is_border(nxt, tm) );//we marked it above!
// now update the prev pointer
halfedge_descriptor prv=prev(opposite(h, tm), tm);
set_next(prv, next(h, tm), tm);
set_next(prv, nxt, tm);
set_halfedge(target(prv, tm), prv, tm);
}
}