mirror of https://github.com/CGAL/cgal
fix halfedge status for opposite edges when removing border degenerate faces
This commit is contained in:
parent
d5a2d332eb
commit
5b3356dbc6
|
|
@ -1699,6 +1699,10 @@ private:
|
||||||
{
|
{
|
||||||
set_status(hf, MESH_BORDER); //only 1 or 2 of the listed halfedges
|
set_status(hf, MESH_BORDER); //only 1 or 2 of the listed halfedges
|
||||||
//will survive face removal, but status will be correct
|
//will survive face removal, but status will be correct
|
||||||
|
|
||||||
|
halfedge_descriptor hfo = opposite(hf, mesh_);
|
||||||
|
if(status(hfo) != MESH_BORDER)
|
||||||
|
set_status(hfo, PATCH_BORDER);
|
||||||
}
|
}
|
||||||
CGAL::Euler::remove_face(h, mesh_);
|
CGAL::Euler::remove_face(h, mesh_);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue