added cast to float lines 308 309

This commit is contained in:
Nico Pietroni 2012-09-18 15:18:33 +00:00
parent 0cde611654
commit e2e948dbd6
1 changed files with 2 additions and 2 deletions

View File

@ -304,8 +304,8 @@ static void FaceQualityRamp(UpdateMeshType &m,bool selected=false)
for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD())
if(!selected || (*fi).IsS())
{
minq=std::min(minq,(*fi).Q());
maxq=std::max(maxq,(*fi).Q());
minq=std::min(minq,(float)(*fi).Q());
maxq=std::max(maxq,(float)(*fi).Q());
}
FaceQualityRamp(m,minq,maxq,selected);