In Assimp: fixed use of macro ASSIMP_BUILD_NO_VALIDATEDS_PROCESS

pull/261/head
Léo Terziman 2014-01-06 11:07:14 +01:00
parent 7372bf2467
commit e6c5095e5b
1 changed files with 2 additions and 2 deletions

View File

@ -752,7 +752,7 @@ const aiScene* Importer::ApplyPostProcessing(unsigned int pFlags)
#ifdef ASSIMP_BUILD_DEBUG
if (pimpl->bExtraVerbose)
{
#ifndef ASSIMP_BUILD_NO_VALIDATEDS_PROCESS
#ifdef ASSIMP_BUILD_NO_VALIDATEDS_PROCESS
DefaultLogger::get()->error("Verbose Import is not available due to build settings");
#endif // no validation
pFlags |= aiProcess_ValidateDataStructure;
@ -785,7 +785,7 @@ const aiScene* Importer::ApplyPostProcessing(unsigned int pFlags)
}
#ifdef ASSIMP_BUILD_DEBUG
#ifndef ASSIMP_BUILD_NO_VALIDATEDS_PROCESS
#ifdef ASSIMP_BUILD_NO_VALIDATEDS_PROCESS
continue;
#endif // no validation