From ff862b77cd538309c76f6ffe6540e1783b288634 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 11 Jan 2006 15:43:18 +0000 Subject: [PATCH] Added print of removed dup vert --- apps/sample/trimesh_join/trimesh_join.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); }