try to fix build.

This commit is contained in:
Kim Kulling
2015-12-07 20:43:01 +01:00
parent f5e13874e0
commit 0a6788d56f
2 changed files with 55 additions and 51 deletions

View File

@@ -64,7 +64,7 @@ using namespace Assimp::Collada;
// ------------------------------------------------------------------------------------------------
// Constructor to be privately used by Importer
ColladaParser::ColladaParser( IOSystem* pIOHandler, const std::string& pFile)
: mFileName( pFile)
: mFileName( pFile )
, mReader( NULL )
, mDataLibrary()
, mAccessorLibrary()
@@ -82,7 +82,7 @@ ColladaParser::ColladaParser( IOSystem* pIOHandler, const std::string& pFile)
, mUpDirection( UP_Y )
, mFormat(FV_1_5_n ) // We assume the newest file format by default
{
// Validate io-handler instance
// validate io-handler instance
if ( NULL == pIOHandler ) {
throw DeadlyImportError("IOSystem is NULL." );
}
@@ -103,8 +103,8 @@ ColladaParser::ColladaParser( IOSystem* pIOHandler, const std::string& pFile)
// start reading
ReadContents();
// Release file after import
pIOHandler->Close( file.get() );
// release file after import
//pIOHandler->Close( file.get() );
}
// ------------------------------------------------------------------------------------------------