|
@@ -125,6 +125,9 @@ corresponding preprocessor flag to selectively disable steps.
|
|
|
#ifndef ASSIMP_BUILD_NO_DEBONE_PROCESS
|
|
|
# include "DeboneProcess.h"
|
|
|
#endif
|
|
|
+#if (!defined ASSIMP_BUILD_NO_GLOBALSCALE_PROCESS)
|
|
|
+# include "ScaleProcess.h"
|
|
|
+#endif
|
|
|
|
|
|
namespace Assimp {
|
|
|
|
|
@@ -136,7 +139,7 @@ void GetPostProcessingStepInstanceList(std::vector< BaseProcess* >& out)
|
|
|
// of sequence it is executed. Steps that are added here are not
|
|
|
// validated - as RegisterPPStep() does - all dependencies must be given.
|
|
|
// ----------------------------------------------------------------------------
|
|
|
- out.reserve(30);
|
|
|
+ out.reserve(31);
|
|
|
#if (!defined ASSIMP_BUILD_NO_MAKELEFTHANDED_PROCESS)
|
|
|
out.push_back( new MakeLeftHandedProcess());
|
|
|
#endif
|
|
@@ -197,7 +200,9 @@ void GetPostProcessingStepInstanceList(std::vector< BaseProcess* >& out)
|
|
|
#if (!defined ASSIMP_BUILD_NO_GENFACENORMALS_PROCESS)
|
|
|
out.push_back( new GenFaceNormalsProcess());
|
|
|
#endif
|
|
|
-
|
|
|
+#if (!defined ASSIMP_BUILD_NO_GLOBALSCALE_PROCESS)
|
|
|
+ out.push_back( new ScaleProcess());
|
|
|
+#endif
|
|
|
// .........................................................................
|
|
|
// DON'T change the order of these five ..
|
|
|
// XXX this is actually a design weakness that dates back to the time
|