diff --git a/apps/sample/trimesh_join/trimesh_join.cpp b/apps/sample/trimesh_join/trimesh_join.cpp index 885abbbd..02cb9720 100644 --- a/apps/sample/trimesh_join/trimesh_join.cpp +++ b/apps/sample/trimesh_join/trimesh_join.cpp @@ -57,7 +57,8 @@ int main(int argc,char **argv ) printf("Output mesh vn:%i fn:%i\n",ml.vn,ml.fn); tri::io::ExporterPLY::Save(ml,"joined.ply"); - tri::Clean::RemoveDuplicateVertex(ml); + int dv=tri::Clean::RemoveDuplicateVertex(ml); + printf("Removed %i duplicated vertices\n",dv); tri::io::ExporterPLY::Save(ml,"joined_unif.ply"); }