fixed bug importing s,t per vert (in blender-flavour plys)
This commit is contained in:
parent
3482ee805e
commit
420af788a6
|
@ -758,6 +758,12 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi )
|
||||||
(*vi).N()[2]=va.n[2];
|
(*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( pi.mask & Mask::IOM_VERTCOLOR )
|
||||||
{
|
{
|
||||||
if(hasIntensity)
|
if(hasIntensity)
|
||||||
|
|
Loading…
Reference in New Issue