diff --git a/apps/trimeshinfo/trimeshinfo.cpp b/apps/trimeshinfo/trimeshinfo.cpp
index 3aa8bf16..281cb9e8 100644
--- a/apps/trimeshinfo/trimeshinfo.cpp
+++ b/apps/trimeshinfo/trimeshinfo.cpp
@@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
+Revision 1.24 2005/12/20 13:29:41 corsini
+Remove unuseful Clear function
+
Revision 1.23 2005/12/19 15:00:53 corsini
Disable xml output temporarily
@@ -211,7 +214,7 @@ static const char * HTML_TABLE[HTML_LINES]=
"
Vertices | ",
" Faces | ",
" Edges | ",
-" Holes | ",
+" Holes/ Boundaries | ",
" Connected Components | ",
" Isolated Vertices | ",
" Duplicated Vertices | ",
@@ -389,7 +392,13 @@ void SaveMeshInfoHtmlTable(fstream &fout, MeshInfo &mi)
fout << " " << mi.vn << " | " << std::endl;
fout << " " << mi.fn << " | " << std::endl;
fout << " " << mi.count_e << " | " << std::endl;
- fout << " " << mi.numholes << " | " << std::endl;
+
+ if (mi.Manifold)
+ fout << " " << mi.numholes << " | " << std::endl;
+ else
+ fout << " N/A | " << std::endl;
+
+
fout << " " << mi.numcomponents << " | " << std::endl;
fout << " " << mi.count_uv << " | " << std::endl;
fout << " " << mi.dv << " | " << std::endl;
@@ -411,7 +420,10 @@ void SaveMeshInfoHtmlTable(fstream &fout, MeshInfo &mi)
else if (!mi.Orientable)
fout << " No / No | " << std::endl;
- fout << " " << mi.Genus << " | " << std::endl;
+ if (mi.Manifold)
+ fout << " " << mi.Genus << " | " << std::endl;
+ else
+ fout << " N/A | " << std::endl;
fout << " " << std::endl;
}