diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 780b28a71..7ad49ad33 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -557,6 +557,8 @@ SET( PostProcessing_SRCS FindInvalidDataProcess.h FixNormalsStep.cpp FixNormalsStep.h + DropFaceNormalsProcess.cpp + DropFaceNormalsProcess.h GenFaceNormalsProcess.cpp GenFaceNormalsProcess.h GenVertexNormalsProcess.cpp diff --git a/code/PostStepRegistry.cpp b/code/PostStepRegistry.cpp index 6c25b9361..a04092d3a 100644 --- a/code/PostStepRegistry.cpp +++ b/code/PostStepRegistry.cpp @@ -62,6 +62,9 @@ corresponding preprocessor flag to selectively disable steps. #ifndef ASSIMP_BUILD_NO_TRIANGULATE_PROCESS # include "TriangulateProcess.h" #endif +#ifndef ASSIMP_BUILD_NO_DROPFACENORMALS_PROCESS +# include "DropFaceNormalsProcess.h" +#endif #ifndef ASSIMP_BUILD_NO_GENFACENORMALS_PROCESS # include "GenFaceNormalsProcess.h" #endif diff --git a/include/assimp/defs.h b/include/assimp/defs.h index e2ce6953d..e651a1f7b 100644 --- a/include/assimp/defs.h +++ b/include/assimp/defs.h @@ -97,6 +97,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * CALCTANGENTS * JOINVERTICES * TRIANGULATE + * DROPFACENORMALS * GENFACENORMALS * GENVERTEXNORMALS * REMOVEVC