Added parenthesis to remove gcc warnings

This commit is contained in:
Paolo Cignoni 2011-05-11 06:11:21 +00:00
parent 580ec94ab3
commit 589cb681e5
1 changed files with 4 additions and 1 deletions

View File

@ -73,14 +73,17 @@ public:
typename ComputeMeshType::VertexIterator vi;
for(vi = _m->vert.begin(); vi != _m->vert.end(); ++vi)
if( !(*vi).IsD() )
{
if(vsH[*vi]) (*vi).SetS() ;
else (*vi).ClearS() ;
}
typename ComputeMeshType::FaceIterator fi;
for(fi = _m->face.begin(); fi != _m->face.end(); ++fi)
if( !(*fi).IsD() )
{
if(fsH[*fi]) (*fi).SetS() ;
else (*fi).ClearS() ;
}
Allocator<ComputeMeshType>::template DeletePerVertexAttribute<bool>(*_m,vsH);
Allocator<ComputeMeshType>::template DeletePerFaceAttribute<bool>(*_m,fsH);