소스 검색

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

Alexander Gessler 10 년 전
부모
커밋
aae0f7e7b1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      code/3DSExporter.cpp

+ 1 - 1
code/3DSExporter.cpp

@@ -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);