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:
parent
dee3de3cc8
commit
4af26f2df2
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue