- removed ply error in 3d model with wedge texture coord saved in ascii format

This commit is contained in:
Guido Ranzuglia 2016-07-25 12:36:23 +02:00
parent 037cf41afa
commit 9caa217af9
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ namespace vcg {
else if( HasPerWedgeTexCoord(m) && (pi.mask & Mask::IOM_WEDGTEXCOORD) ) else if( HasPerWedgeTexCoord(m) && (pi.mask & Mask::IOM_WEDGTEXCOORD) )
{ {
fprintf(fpout,"%d ",fp->VN()*2); fprintf(fpout,"%d ",fp->VN()*2);
for(int k=0;k<fp->VN()*2;++k) for(int k=0;k<fp->VN();++k)
fprintf(fpout,"%f %f " fprintf(fpout,"%f %f "
,fp->WT(k).u() ,fp->WT(k).u()
,fp->WT(k).v() ,fp->WT(k).v()