fixed little bug: saving collada file with texcoords but not textures file

This commit is contained in:
granzuglia 2008-02-05 21:49:55 +00:00
parent 28c5847ec9
commit 23f96b0b59
1 changed files with 2 additions and 2 deletions

View File

@ -1049,7 +1049,7 @@ public:
//}
QVector<QVector<int>> mytripatches;
if (texmask)
if ((texmask) && (m.textures.size() != 0))
splitMeshInTexturedPatches(m,mytripatches);
QVector<QVector<int> >::iterator itp = mytripatches.begin();