Skip to content

Commit

Permalink
while non manif missing
Browse files Browse the repository at this point in the history
  • Loading branch information
maggio-a committed Oct 6, 2018
1 parent bebf1b7 commit aed3709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mesh_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,9 @@ void CleanupShell(Mesh& shell)
// no longer vertex manifold because the new boundary touched only a
// vertex of a hole-filling face
if (deleted) {
tri::Clean<Mesh>::SplitNonManifoldVertex(shell, 0.15);
int nv;
while ((nv = tri::Clean<Mesh>::SplitNonManifoldVertex(shell, 0.15)) > 0)
;
tri::UpdateTopology<Mesh>::FaceFace(shell);
tri::UpdateTopology<Mesh>::VertexFace(shell);
}
Expand Down

0 comments on commit aed3709

Please sign in to comment.