save texture file names if vertex texcoord bit is set.

This commit is contained in:
Marco Di Benedetto 2009-10-23 20:24:10 +00:00
parent d650013e60
commit f6d9f4de7c
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ static int Save(SaveMeshType &m, const char * filename, bool binary, PlyInfo &p
,h
);
if( pi.mask & Mask::IOM_WEDGTEXCOORD )
if (((pi.mask & Mask::IOM_WEDGTEXCOORD) != 0) || ((pi.mask & Mask::IOM_VERTTEXCOORD) != 0))
{
const char * TFILE = "TextureFile";