Adding a file system filter layer to correct invalid paths automatically.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@381 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -559,7 +559,8 @@ void Importer::SetIOHandler( IOSystem* pIOHandler)
|
||||
// If the new handler is zero, allocate a default IO implementation.
|
||||
if (!pIOHandler)
|
||||
{
|
||||
delete mIOHandler;
|
||||
// Release pointer in the possession of the caller
|
||||
// delete mIOHandler;
|
||||
mIOHandler = new DefaultIOSystem();
|
||||
mIsDefaultHandler = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user