2
0
Эх сурвалжийг харах

ObjExporter: request smooth normals.

acgessler 12 жил өмнө
parent
commit
cf639edb44
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      code/Exporter.cpp

+ 1 - 1
code/Exporter.cpp

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