This commit is contained in:
Gargaj
2014-08-07 08:26:04 +02:00
parent 7925dcadba
commit aa5c1a1a23

View File

@@ -642,9 +642,10 @@ const aiScene* Importer::ReadFile( const char* _pFile, unsigned int pFlags)
// Get file size for progress handler
IOStream * fileIO = pimpl->mIOHandler->Open( pFile );
uint32_t fileSize = 0;
if (fileIO)
{
uint32_t fileSize = fileIO->FileSize();
fileSize = fileIO->FileSize();
pimpl->mIOHandler->Close( fileIO );
}