GetPostProcessingStepInstanceList(mPostProcessingSteps);
// grab all built-in exporters
- mExporters.resize(ASSIMP_NUM_EXPORTERS);
- std::copy(gExporters,gExporters+ASSIMP_NUM_EXPORTERS,mExporters.begin());
+ if ( 0 != ( ASSIMP_NUM_EXPORTERS ) ) {
+ mExporters.resize( ASSIMP_NUM_EXPORTERS );
+ std::copy( gExporters, gExporters + ASSIMP_NUM_EXPORTERS, mExporters.begin() );
+ }
}
~ExporterPimpl()
}
public:
-
aiExportDataBlob* blob;
std::shared_ptr< Assimp::IOSystem > mIOSystem;
bool mIsDefaultIOHandler;
pimpl->mError = std::string("Found no exporter to handle this file format: ") + pFormatId;
ASSIMP_END_EXCEPTION_REGION(aiReturn);
+
return AI_FAILURE;
}
// empty
}
-
// ------------------------------------------------------------------------------------------------
// Set a configuration property
bool ExportProperties::SetPropertyInteger(const char* szName, int iValue) {