From a7a400b40e600140378a596e5bcfae13f09b171b Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 14 Oct 2008 06:39:04 +0000 Subject: [PATCH] Changed an old FaceType::HasFaceQuality() into the tempory aware version HasPerFaceQuality(mesh) --- wrap/io_trimesh/import_ply.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/io_trimesh/import_ply.h b/wrap/io_trimesh/import_ply.h index 920107b2..cddb5302 100644 --- a/wrap/io_trimesh/import_ply.h +++ b/wrap/io_trimesh/import_ply.h @@ -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);