ソースを参照

Change spec of obj exporter.

Alexander Gessler 12 年 前
コミット
b597ebbe43
1 ファイル変更2 行追加1 行削除
  1. 2 1
      code/Exporter.cpp

+ 2 - 1
code/Exporter.cpp

@@ -85,7 +85,8 @@ Exporter::ExportFormatEntry gExporters[] =
 #endif
 #endif
 
 
 #ifndef ASSIMP_BUILD_NO_OBJ_EXPORTER
 #ifndef ASSIMP_BUILD_NO_OBJ_EXPORTER
-	Exporter::ExportFormatEntry( "obj", "Wavefront OBJ format", "obj", &ExportSceneObj),
+	Exporter::ExportFormatEntry( "obj", "Wavefront OBJ format", "obj", &ExportSceneObj, 
+		aiProcess_GenNormals | aiProcess_PreTransformVertices),
 #endif
 #endif
 
 
 #ifndef ASSIMP_BUILD_NO_STL_EXPORTER
 #ifndef ASSIMP_BUILD_NO_STL_EXPORTER