added missing test on deleted faces

This commit is contained in:
Paolo Cignoni 2009-04-21 15:42:18 +00:00
parent 17d5caeed1
commit 312532aab3
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ static size_t FaceConnectedFF(MeshType &m)
size_t selCnt=0;
FaceIterator fi;
for(fi = m.face.begin(); fi != m.face.end(); ++fi)
if( (*fi).IsS() && !(*fi).IsV() )
if( !(*fi).IsD() && (*fi).IsS() && !(*fi).IsV() )
visitStack.push_back(&*fi);
while(!visitStack.empty())