mirror of https://github.com/CGAL/cgal
Merge pull request #4560 from janetournois/PMP-fix_isotropic_remeshing_with_patch_ids-jtournois
PMP::isotropic_remeshing() - fix remeshing with patch ids
This commit is contained in:
commit
fb6c32da8a
|
|
@ -1523,7 +1523,9 @@ private:
|
|||
// tag patch border halfedges
|
||||
BOOST_FOREACH(halfedge_descriptor h, halfedges(mesh_))
|
||||
{
|
||||
if (status(h)==PATCH && status(opposite(h, mesh_))!=PATCH)
|
||||
if (status(h) == PATCH
|
||||
&& ( status(opposite(h, mesh_)) != PATCH
|
||||
|| get_patch_id(face(h, mesh_)) != get_patch_id(face(opposite(h, mesh_), mesh_))))
|
||||
{
|
||||
set_status(h, PATCH_BORDER);
|
||||
has_border_ = true;
|
||||
|
|
|
|||
|
|
@ -611,7 +611,6 @@ public Q_SLOTS:
|
|||
}
|
||||
if (fpmap_valid)
|
||||
{
|
||||
PMP::connected_components(pmesh, fpmap, PMP::parameters::edge_is_constrained_map(eif));
|
||||
poly_item->setItemIsMulticolor(true);
|
||||
poly_item->show_feature_edges(true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue