|
@@ -164,9 +164,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_FINDDEGENERATES_PROCESS)
|
|
|
|
- out.push_back( new FindDegeneratesProcess());
|
|
|
|
-#endif
|
|
|
|
#ifndef ASSIMP_BUILD_NO_GENUVCOORDS_PROCESS
|
|
#ifndef ASSIMP_BUILD_NO_GENUVCOORDS_PROCESS
|
|
out.push_back( new ComputeUVMappingProcess());
|
|
out.push_back( new ComputeUVMappingProcess());
|
|
#endif
|
|
#endif
|
|
@@ -179,6 +176,12 @@ void GetPostProcessingStepInstanceList(std::vector< BaseProcess* >& out)
|
|
#if (!defined ASSIMP_BUILD_NO_TRIANGULATE_PROCESS)
|
|
#if (!defined ASSIMP_BUILD_NO_TRIANGULATE_PROCESS)
|
|
out.push_back( new TriangulateProcess());
|
|
out.push_back( new TriangulateProcess());
|
|
#endif
|
|
#endif
|
|
|
|
+#if (!defined ASSIMP_BUILD_NO_FINDDEGENERATES_PROCESS)
|
|
|
|
+ //find degenerates should run after triangulation (to sort out small
|
|
|
|
+ //generated triangles) but before sort by p types (in case there are lines
|
|
|
|
+ //and points generated and inserted into a mesh)
|
|
|
|
+ out.push_back( new FindDegeneratesProcess());
|
|
|
|
+#endif
|
|
#if (!defined ASSIMP_BUILD_NO_SORTBYPTYPE_PROCESS)
|
|
#if (!defined ASSIMP_BUILD_NO_SORTBYPTYPE_PROCESS)
|
|
out.push_back( new SortByPTypeProcess());
|
|
out.push_back( new SortByPTypeProcess());
|
|
#endif
|
|
#endif
|