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

@ -1048,8 +1048,8 @@ public:
// trianglesnode = new XNode(new Tags::TrianglesTag(m.face.size(),"instancematerial")); // trianglesnode = new XNode(new Tags::TrianglesTag(m.face.size(),"instancematerial"));
//} //}
QVector<QVector<int> > mytripatches; QVector<QVector<int>> mytripatches;
if (texmask) if ((texmask) && (m.textures.size() != 0))
splitMeshInTexturedPatches(m,mytripatches); splitMeshInTexturedPatches(m,mytripatches);
QVector<QVector<int> >::iterator itp = mytripatches.begin(); QVector<QVector<int> >::iterator itp = mytripatches.begin();