Add in IRRMESH option

pull/890/head
Richard Selneck 2016-05-09 18:26:18 -04:00
parent 12613720ff
commit 86a636fbbf
2 changed files with 8 additions and 4 deletions

View File

@ -273,12 +273,16 @@ ADD_ASSIMP_IMPORTER(HMP
HalfLifeFileData.h
)
#FIXME: allow to set IRRMESH by option
ADD_ASSIMP_IMPORTER(IRRMESH
IRRMeshLoader.cpp
IRRMeshLoader.h
IRRShared.cpp
IRRShared.h
)
ADD_ASSIMP_IMPORTER(IRR
IRRLoader.cpp
IRRLoader.h
IRRMeshLoader.cpp
IRRMeshLoader.h
IRRShared.cpp
IRRShared.h
)

View File

@ -253,7 +253,7 @@ void GetImporterInstanceList(std::vector< BaseImporter* >& out)
#if (!defined ASSIMP_BUILD_NO_BVH_IMPORTER)
out.push_back( new BVHLoader());
#endif
#if (!defined ASSIMP_BUILD_NO_IRR_IMPORTER)
#if (!defined ASSIMP_BUILD_NO_IRRMESH_IMPORTER)
out.push_back( new IRRMeshImporter());
#endif
#if (!defined ASSIMP_BUILD_NO_IRR_IMPORTER)