Refactoring ... added documentation, simplified some parts of the code and migrated some class declarations in separate files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@100 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -184,7 +184,7 @@ void aiGetExtensionList(aiString* szOut)
|
||||
}
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void aiGetMemoryRequirements(const C_STRUCT aiScene* pIn,
|
||||
C_STRUCT aiMemoryInfo* in);
|
||||
C_STRUCT aiMemoryInfo* in)
|
||||
{
|
||||
// lock the mutex
|
||||
#if (defined AI_C_THREADSAFE)
|
||||
@@ -198,7 +198,7 @@ void aiGetMemoryRequirements(const C_STRUCT aiScene* pIn,
|
||||
{
|
||||
DefaultLogger::get()->error("Unable to find the Importer instance for this scene. "
|
||||
"Are you sure it has been created by aiImportFile(ex)(...)?");
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
// get memory statistics
|
||||
it->second->GetMemoryRequirements(*in);
|
||||
|
||||
Reference in New Issue
Block a user