diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index df12695d2..53da5019e 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -292,6 +292,11 @@ ADD_ASSIMP_IMPORTER( AMF AMFImporter_Postprocess.cpp ) +ADD_ASSIMP_IMPORTER( JT + JTImporter.h + JTImporter.cpp +) + ADD_ASSIMP_IMPORTER( 3DS 3DSConverter.cpp 3DSHelper.h diff --git a/code/ImporterRegistry.cpp b/code/ImporterRegistry.cpp index 747815fa6..69a50bf27 100644 --- a/code/ImporterRegistry.cpp +++ b/code/ImporterRegistry.cpp @@ -200,6 +200,9 @@ corresponding preprocessor flag to selectively disable formats. #ifndef ASSIMP_BUILD_NO_STEP_IMPORTER # include "Importer/StepFile/StepFileImporter.h" #endif +#ifndef ASSIMP_BUILD_NO_JT_IMPORTER +# include "JTImporter.h" +#endif namespace Assimp { @@ -358,13 +361,17 @@ void GetImporterInstanceList(std::vector< BaseImporter* >& out) #ifndef ASSIMP_BUILD_NO_STEP_IMPORTER out.push_back(new StepFile::StepFileImporter()); #endif +#ifndef ASSIMP_BUILD_NO_JT_IMPORTER + out.push_back(new JTImporter()); +#endif + } /** will delete all registered importers. */ void DeleteImporterInstanceList(std::vector< BaseImporter* >& deleteList){ for(size_t i= 0; i