From 8d80f5639684a4b6cf4d44b4560ac31b9ba85137 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Wed, 7 Aug 2013 14:59:16 +0200 Subject: [PATCH] fix include/ define in PostStepRegistry allow to build without any post processing steps: * typo in ASSIMP_BUILD_DEBONE_PROCESS -> ASSIMP_BUILD_NO_DEBONE_PROCESS * needs to include ProcessHelper.h itself --- code/PostStepRegistry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/PostStepRegistry.cpp b/code/PostStepRegistry.cpp index 0e3de18a0..3fdbeb257 100644 --- a/code/PostStepRegistry.cpp +++ b/code/PostStepRegistry.cpp @@ -47,6 +47,7 @@ corresponding preprocessor flag to selectively disable steps. */ #include "AssimpPCH.h" +#include "ProcessHelper.h" #ifndef ASSIMP_BUILD_NO_CALCTANGENTS_PROCESS # include "CalcTangentsProcess.h" @@ -215,7 +216,7 @@ void GetPostProcessingStepInstanceList(std::vector< BaseProcess* >& out) #if (!defined ASSIMP_BUILD_NO_FLIPWINDINGORDER_PROCESS) out.push_back( new FlipWindingOrderProcess()); #endif -#if (!defined ASSIMP_BUILD_DEBONE_PROCESS) +#if (!defined ASSIMP_BUILD_NO_DEBONE_PROCESS) out.push_back( new DeboneProcess()); #endif #if (!defined ASSIMP_BUILD_NO_LIMITBONEWEIGHTS_PROCESS)