Merge pull request #4979 from janetournois/PMP-remesh_after_detect_sharp_features-jtournois

Polyhedron demo - get the sharp edges back after remeshing
This commit is contained in:
Laurent Rineau 2020-09-24 16:34:48 +02:00
commit a246b3d776
1 changed files with 6 additions and 0 deletions

View File

@ -608,6 +608,12 @@ public Q_SLOTS:
.number_of_relaxation_steps(nb_smooth)
.edge_is_constrained_map(ecm)
.relax_constraints(smooth_features));
//recollect sharp edges
for(edge_descriptor e : edges(pmesh))
eif[e] = false;
for(edge_descriptor e : edges_to_protect)
eif[e] = true;
}
if (fpmap_valid)
{