Initial parsing for header and more.

This commit is contained in:
Kim Kulling
2019-05-24 17:22:54 +02:00
parent 2ba3d956d1
commit b03b3b9c03
5 changed files with 15 additions and 2 deletions
+5
View File
@@ -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
+8 -1
View File
@@ -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<deleteList.size();++i){
delete deleteList[i];
deleteList[i]=NULL;
deleteList[i]=nullptr;
}//for
}