commit
cbafae9e49
|
@ -66,18 +66,18 @@ using namespace Assimp::Collada;
|
||||||
ColladaParser::ColladaParser( IOSystem* pIOHandler, const std::string& pFile)
|
ColladaParser::ColladaParser( IOSystem* pIOHandler, const std::string& pFile)
|
||||||
: mFileName( pFile )
|
: mFileName( pFile )
|
||||||
, mReader( NULL )
|
, mReader( NULL )
|
||||||
//, mDataLibrary()
|
, mDataLibrary()
|
||||||
//, mAccessorLibrary()
|
, mAccessorLibrary()
|
||||||
//, mMeshLibrary()
|
, mMeshLibrary()
|
||||||
//, mNodeLibrary()
|
, mNodeLibrary()
|
||||||
//, mImageLibrary()
|
, mImageLibrary()
|
||||||
//, mEffectLibrary()
|
, mEffectLibrary()
|
||||||
//, mMaterialLibrary()
|
, mMaterialLibrary()
|
||||||
//, mLightLibrary()
|
, mLightLibrary()
|
||||||
//, mCameraLibrary()
|
, mCameraLibrary()
|
||||||
//, mControllerLibrary()
|
, mControllerLibrary()
|
||||||
, mRootNode( NULL )
|
, mRootNode( NULL )
|
||||||
//, mAnims()
|
, mAnims()
|
||||||
, mUnitSize( 1.0f )
|
, mUnitSize( 1.0f )
|
||||||
, mUpDirection( UP_Y )
|
, mUpDirection( UP_Y )
|
||||||
, mFormat(FV_1_5_n ) // We assume the newest file format by default
|
, mFormat(FV_1_5_n ) // We assume the newest file format by default
|
||||||
|
@ -102,9 +102,6 @@ ColladaParser::ColladaParser( IOSystem* pIOHandler, const std::string& pFile)
|
||||||
|
|
||||||
// start reading
|
// start reading
|
||||||
ReadContents();
|
ReadContents();
|
||||||
|
|
||||||
// release file after import
|
|
||||||
//pIOHandler->Close( file.get() );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
#include "ColladaHelper.h"
|
#include "ColladaHelper.h"
|
||||||
#include "../include/assimp/ai_assert.h"
|
#include "../include/assimp/ai_assert.h"
|
||||||
#include <boost/format.hpp>
|
#include <boost/format.hpp>
|
||||||
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
|
||||||
namespace Assimp
|
namespace Assimp
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue