Explorar o código

ObjExporter: request smooth normals.

acgessler %!s(int64=12) %!d(string=hai) anos
pai
achega
cf639edb44
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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