Initial parsing for header and more.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user