fixed little bug: saving collada file with texcoords but not textures file
This commit is contained in:
parent
28c5847ec9
commit
23f96b0b59
|
@ -1048,8 +1048,8 @@ public:
|
|||
// trianglesnode = new XNode(new Tags::TrianglesTag(m.face.size(),"instancematerial"));
|
||||
//}
|
||||
|
||||
QVector<QVector<int> > mytripatches;
|
||||
if (texmask)
|
||||
QVector<QVector<int>> mytripatches;
|
||||
if ((texmask) && (m.textures.size() != 0))
|
||||
splitMeshInTexturedPatches(m,mytripatches);
|
||||
|
||||
QVector<QVector<int> >::iterator itp = mytripatches.begin();
|
||||
|
|
Loading…
Reference in New Issue