Skip to content

Commit

Permalink
Isotropic Remeshing should clear faux flags
Browse files Browse the repository at this point in the history
  • Loading branch information
cignoni committed Oct 8, 2024
1 parent e323a66 commit dfa1cac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/meshlabplugins/filter_meshing/meshfilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,9 @@ std::map<std::string, QVariant> ExtraMeshFilterPlugin::applyFilter(
tri::Clean<CMeshO>::RemoveDuplicateVertex(m.cm);
tri::Clean<CMeshO>::RemoveUnreferencedVertex(m.cm);
tri::Allocator<CMeshO>::CompactEveryVector(m.cm);

// Remove faux edges that are ignored by the isotropic remeshing (it supports only triangles)
tri::UpdateFlags<CMeshO>::FaceClearF(m.cm);

m.updateBoxAndNormals();

Expand Down

0 comments on commit dfa1cac

Please sign in to comment.