+ add aiImporterDesc API to hold importer meta information.
- cleanup some Importer APIs: FindLoader -> GetImporter, add some utility APIs. Note that this is a breaking API change. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1232 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -71,12 +71,12 @@ using namespace Assimp;
|
||||
using namespace Assimp::Blender;
|
||||
using namespace Assimp::Formatter;
|
||||
|
||||
static const aiLoaderDesc blenderDesc = {
|
||||
static const aiImporterDesc blenderDesc = {
|
||||
"Blender 3D Importer \nhttp://www.blender3d.org",
|
||||
"Assimp Team",
|
||||
"",
|
||||
"",
|
||||
aiLoaderFlags_SupportBinaryFlavour | aiLoaderFlags_Experimental,
|
||||
"",
|
||||
aiImporterFlags_SupportBinaryFlavour | aiImporterFlags_Experimental,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
@@ -123,9 +123,9 @@ void BlenderImporter::GetExtensionList(std::set<std::string>& app)
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// Loader registry entry
|
||||
const aiLoaderDesc& BlenderImporter::GetInfo () const
|
||||
const aiImporterDesc* BlenderImporter::GetInfo () const
|
||||
{
|
||||
return blenderDesc;
|
||||
return &blenderDesc;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user