Changed an old FaceType::HasFaceQuality() into the tempory aware version HasPerFaceQuality(mesh)

This commit is contained in:
Paolo Cignoni 2008-10-14 06:39:04 +00:00
parent ae6f7fee0f
commit a7a400b40e
1 changed files with 1 additions and 1 deletions

View File

@ -825,7 +825,7 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi )
{
// Warning the parsing of tristrips could not work if OCF types are used
FaceType tf;
if( FaceType::HasFaceQuality() ) tf.Q()=(typename OpenMeshType::FaceType::QualityType)1.0;
if( HasPerFaceQuality(m) ) tf.Q()=(typename OpenMeshType::FaceType::QualityType)1.0;
if( FaceType::HasWedgeColor() ) tf.WC(0)=tf.WC(1)=tf.WC(2)=Color4b(Color4b::White);
if( HasPerFaceColor(m) ) tf.C()=Color4b(Color4b::White);