added missing initialization of tex coord.
This commit is contained in:
parent
79783ac1bb
commit
168953b768
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue