From 168953b7682127e4d0a6170b53b77847704e6562 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 16 Jun 2010 12:04:55 +0000 Subject: [PATCH] added missing initialization of tex coord. --- wrap/io_trimesh/export_3ds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/io_trimesh/export_3ds.h b/wrap/io_trimesh/export_3ds.h index d5ac10e7..72b7794a 100644 --- a/wrap/io_trimesh/export_3ds.h +++ b/wrap/io_trimesh/export_3ds.h @@ -422,7 +422,7 @@ namespace io { FaceIterator fi; for(fi=m.face.begin(); fi!=m.face.end(); ++fi) if( !(*fi).IsD() ) { - vcg::TexCoord2 t0,t1,t2; + vcg::TexCoord2 t0(0,0),t1(0,0),t2(0,0); int i0 = GetIndexVertex(m, (*fi).V(0)); int i1 = GetIndexVertex(m, (*fi).V(1)); int i2 = GetIndexVertex(m, (*fi).V(2));