From 7c20ead0c3032eabc57bec9ce37cdfd49a89d877 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 30 Jan 2006 08:47:40 +0000 Subject: [PATCH] Corrected HasPerWedgeTexture --- vcg/simplex/faceplus/component_ocf.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/faceplus/component_ocf.h b/vcg/simplex/faceplus/component_ocf.h index 49737248..a3e30f6d 100644 --- a/vcg/simplex/faceplus/component_ocf.h +++ b/vcg/simplex/faceplus/component_ocf.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.9 2006/01/05 15:46:06 cignoni +Removed a syntax error (double >) in HasPerWedgeTexture/HasPerFaceColor + Revision 1.8 2006/01/04 18:46:25 cignoni Corrected push_back (did not worked at all!) added missing cFFi @@ -380,8 +383,8 @@ public: template < class VertContainerType, class FaceType > bool HasPerWedgeTexture (const TriMesh < VertContainerType , face::vector_ocf< FaceType > > & m) { - if(face::vector_ocf< FaceType >::HasWedgeTextureOcf()) return m.face.WedgeTexEnabled(); - else return face::vector_ocf< FaceType >::HasWedgeTexture(); + if(FaceType::HasWedgeTextureOcf()) return m.face.IsWedgeTexEnabled(); + else return FaceType::HasWedgeTexture(); } template < class VertContainerType, class FaceType >