INtroduce new log macros.
This commit is contained in:
@@ -145,7 +145,7 @@ bool UpdateNodeGraph(aiNode* node,std::list<aiNode*>& childsOfParent,bool root)
|
||||
// Executes the post processing step on the given imported data.
|
||||
void RemoveVCProcess::Execute( aiScene* pScene)
|
||||
{
|
||||
DefaultLogger::get()->debug("RemoveVCProcess begin");
|
||||
ASSIMP_LOG_DEBUG("RemoveVCProcess begin");
|
||||
bool bHas = false; //,bMasked = false;
|
||||
|
||||
mScene = pScene;
|
||||
@@ -224,15 +224,18 @@ void RemoveVCProcess::Execute( aiScene* pScene)
|
||||
if (!pScene->mNumMeshes || !pScene->mNumMaterials)
|
||||
{
|
||||
pScene->mFlags |= AI_SCENE_FLAGS_INCOMPLETE;
|
||||
DefaultLogger::get()->debug("Setting AI_SCENE_FLAGS_INCOMPLETE flag");
|
||||
ASSIMP_LOG_DEBUG("Setting AI_SCENE_FLAGS_INCOMPLETE flag");
|
||||
|
||||
// If we have no meshes anymore we should also clear another flag ...
|
||||
if (!pScene->mNumMeshes)
|
||||
pScene->mFlags &= ~AI_SCENE_FLAGS_NON_VERBOSE_FORMAT;
|
||||
}
|
||||
|
||||
if (bHas)DefaultLogger::get()->info("RemoveVCProcess finished. Data structure cleanup has been done.");
|
||||
else DefaultLogger::get()->debug("RemoveVCProcess finished. Nothing to be done ...");
|
||||
if (bHas) {
|
||||
ASSIMP_LOG_INFO("RemoveVCProcess finished. Data structure cleanup has been done.");
|
||||
} else {
|
||||
ASSIMP_LOG_DEBUG("RemoveVCProcess finished. Nothing to be done ...");
|
||||
}
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user