فهرست منبع

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);
-		WriteMeshes();
 		WriteMaterials();
+		WriteMeshes();
 
 		{
 			ChunkWriter chunk(writer, Discreet3DS::CHUNK_MASTER_SCALE);