diff --git a/vcg/complex/algorithms/clean.h b/vcg/complex/algorithms/clean.h index 53134d6e..aa99602f 100644 --- a/vcg/complex/algorithms/clean.h +++ b/vcg/complex/algorithms/clean.h @@ -328,6 +328,12 @@ private: } return total; } + static int CountUnreferencedVertex( MeshType& m) + { + return RemoveUnreferencedVertex(m,false); + } + + /** This function removes that are not referenced by any face. The function updates the vn counter. @param m The mesh @return The number of removed vertices