ColladaParser: use initializer lists again.
parent
bcff6210b3
commit
35fafe3a6f
|
@ -66,18 +66,18 @@ using namespace Assimp::Collada;
|
|||
ColladaParser::ColladaParser( IOSystem* pIOHandler, const std::string& pFile)
|
||||
: mFileName( pFile )
|
||||
, mReader( NULL )
|
||||
//, mDataLibrary()
|
||||
//, mAccessorLibrary()
|
||||
//, mMeshLibrary()
|
||||
//, mNodeLibrary()
|
||||
//, mImageLibrary()
|
||||
//, mEffectLibrary()
|
||||
//, mMaterialLibrary()
|
||||
//, mLightLibrary()
|
||||
//, mCameraLibrary()
|
||||
//, mControllerLibrary()
|
||||
, mDataLibrary()
|
||||
, mAccessorLibrary()
|
||||
, mMeshLibrary()
|
||||
, mNodeLibrary()
|
||||
, mImageLibrary()
|
||||
, mEffectLibrary()
|
||||
, mMaterialLibrary()
|
||||
, mLightLibrary()
|
||||
, mCameraLibrary()
|
||||
, mControllerLibrary()
|
||||
, mRootNode( NULL )
|
||||
//, mAnims()
|
||||
, mAnims()
|
||||
, mUnitSize( 1.0f )
|
||||
, mUpDirection( UP_Y )
|
||||
, 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
|
||||
ReadContents();
|
||||
|
||||
// release file after import
|
||||
//pIOHandler->Close( file.get() );
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
#include "ColladaHelper.h"
|
||||
#include "../include/assimp/ai_assert.h"
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
||||
namespace Assimp
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue