3DSExporter: export materials first, then meshes. Our own importer requires this.

pull/502/head
Alexander Gessler 2015-02-15 22:12:19 +01:00 committed by Alexander Gessler
parent 3f104fc080
commit aae0f7e7b1
1 changed files with 1 additions and 1 deletions

View File

@ -188,8 +188,8 @@ Discreet3DSExporter:: Discreet3DSExporter(boost::shared_ptr<IOStream> outfile, c
{ {
ChunkWriter chunk(writer, Discreet3DS::CHUNK_OBJMESH); ChunkWriter chunk(writer, Discreet3DS::CHUNK_OBJMESH);
WriteMeshes();
WriteMaterials(); WriteMaterials();
WriteMeshes();
{ {
ChunkWriter chunk(writer, Discreet3DS::CHUNK_MASTER_SCALE); ChunkWriter chunk(writer, Discreet3DS::CHUNK_MASTER_SCALE);