fixed little bug: saving collada file with texcoords but not textures file
This commit is contained in:
parent
28c5847ec9
commit
23f96b0b59
wrap/dae
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue