added missing initialization of tex coord.

This commit is contained in:
Paolo Cignoni 2010-06-16 12:04:55 +00:00
parent 79783ac1bb
commit 168953b768
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ namespace io {
FaceIterator fi; FaceIterator fi;
for(fi=m.face.begin(); fi!=m.face.end(); ++fi) if( !(*fi).IsD() ) for(fi=m.face.begin(); fi!=m.face.end(); ++fi) if( !(*fi).IsD() )
{ {
vcg::TexCoord2<float> t0,t1,t2; vcg::TexCoord2<float> t0(0,0),t1(0,0),t2(0,0);
int i0 = GetIndexVertex(m, (*fi).V(0)); int i0 = GetIndexVertex(m, (*fi).V(0));
int i1 = GetIndexVertex(m, (*fi).V(1)); int i1 = GetIndexVertex(m, (*fi).V(1));
int i2 = GetIndexVertex(m, (*fi).V(2)); int i2 = GetIndexVertex(m, (*fi).V(2));