fixed bug importing s,t per vert (in blender-flavour plys)

This commit is contained in:
mtarini 2009-11-05 12:55:31 +00:00
parent 3482ee805e
commit 420af788a6
1 changed files with 6 additions and 0 deletions

View File

@ -758,6 +758,12 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi )
(*vi).N()[2]=va.n[2];
}
if( pi.mask & Mask::IOM_VERTTEXCOORD )
{
(*vi).T().P().X() = va.u;
(*vi).T().P().Y() = va.v;
}
if( pi.mask & Mask::IOM_VERTCOLOR )
{
if(hasIntensity)