From d32db6dd2ae0271fa6147de1a0cf970a61f6d2ec Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Thu, 15 Dec 2005 14:05:59 +0000 Subject: [PATCH] add test (tm==TMPerWedgeMulti) --- wrap/gl/trimesh.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wrap/gl/trimesh.h b/wrap/gl/trimesh.h index b89bae71..95ca4c40 100644 --- a/wrap/gl/trimesh.h +++ b/wrap/gl/trimesh.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.16 2005/12/14 00:18:43 cignoni +multiple texture support + Revision 1.15 2005/12/02 10:38:07 cignoni Changed a wrong uppercase in the include @@ -455,7 +458,7 @@ void DrawFill() fp = face_pointers.begin(); else fi = m->face.begin(); - curtexname=(*fi).WT(0).n(); + if(tm==TMPerWedgeMulti) curtexname=(*fi).WT(0).n(); while( (partial)?(fp!=face_pointers.end()):(fi!=m->face.end())) { typename MESH_TYPE::FaceType & f = (partial)?(*(*fp)): *fi;