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