line 565 changed "if (numholes!=1) return false;" to "if (numholes==0) return false;" it may be even have multiple holes

This commit is contained in:
Nico Pietroni 2011-11-01 18:40:55 +00:00
parent dee3de3cc8
commit 4af26f2df2
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ public:
if (NNmanifoldV!=0)return false;
int G=vcg::tri::Clean<MeshType>::MeshGenus(mesh);
int numholes=vcg::tri::Clean<MeshType>::CountHoles(mesh);
if (numholes!=1) return false;
if (numholes==0) return false;
return (G==0);
}