mirror of https://github.com/CGAL/cgal
bugfix: use the correct halfedge for setting next pointer
This commit is contained in:
parent
3c330813b1
commit
f0ce3644f8
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue