diff --git a/vcg/complex/trimesh/update/selection.h b/vcg/complex/trimesh/update/selection.h index c00a5fdc..41533cc8 100644 --- a/vcg/complex/trimesh/update/selection.h +++ b/vcg/complex/trimesh/update/selection.h @@ -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())