fix: optimize meshes when vertex & primitive format final
parent
8699021f17
commit
0a01da7242
|
@ -145,9 +145,6 @@ void GetPostProcessingStepInstanceList(std::vector< BaseProcess* >& out)
|
||||||
#if (!defined ASSIMP_BUILD_NO_OPTIMIZEGRAPH_PROCESS)
|
#if (!defined ASSIMP_BUILD_NO_OPTIMIZEGRAPH_PROCESS)
|
||||||
out.push_back( new OptimizeGraphProcess());
|
out.push_back( new OptimizeGraphProcess());
|
||||||
#endif
|
#endif
|
||||||
#if (!defined ASSIMP_BUILD_NO_OPTIMIZEMESHES_PROCESS)
|
|
||||||
out.push_back( new OptimizeMeshesProcess());
|
|
||||||
#endif
|
|
||||||
#if (!defined ASSIMP_BUILD_NO_FINDDEGENERATES_PROCESS)
|
#if (!defined ASSIMP_BUILD_NO_FINDDEGENERATES_PROCESS)
|
||||||
out.push_back( new FindDegeneratesProcess());
|
out.push_back( new FindDegeneratesProcess());
|
||||||
#endif
|
#endif
|
||||||
|
@ -169,6 +166,9 @@ void GetPostProcessingStepInstanceList(std::vector< BaseProcess* >& out)
|
||||||
#if (!defined ASSIMP_BUILD_NO_FINDINVALIDDATA_PROCESS)
|
#if (!defined ASSIMP_BUILD_NO_FINDINVALIDDATA_PROCESS)
|
||||||
out.push_back( new FindInvalidDataProcess());
|
out.push_back( new FindInvalidDataProcess());
|
||||||
#endif
|
#endif
|
||||||
|
#if (!defined ASSIMP_BUILD_NO_OPTIMIZEMESHES_PROCESS)
|
||||||
|
out.push_back( new OptimizeMeshesProcess());
|
||||||
|
#endif
|
||||||
#if (!defined ASSIMP_BUILD_NO_FIXINFACINGNORMALS_PROCESS)
|
#if (!defined ASSIMP_BUILD_NO_FIXINFACINGNORMALS_PROCESS)
|
||||||
out.push_back( new FixInfacingNormalsProcess());
|
out.push_back( new FixInfacingNormalsProcess());
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue