remove unused attribute.

pull/1598/head
Kim Kulling 2017-11-27 23:36:32 +01:00
parent 7280dec838
commit 09f7769820
2 changed files with 4 additions and 6 deletions

View File

@ -55,7 +55,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace Assimp { namespace Assimp {
void ExportScene3MF( const char* pFile, IOSystem* pIOSystem, const aiScene* pScene, const ExportProperties* /*pProperties*/ ) { void ExportScene3MF( const char* pFile, IOSystem* pIOSystem, const aiScene* pScene, const ExportProperties* /*pProperties*/ ) {
D3MF::D3MFExporter myExporter( pFile, pIOSystem, pScene ); D3MF::D3MFExporter myExporter( pFile, pScene );
if ( myExporter.validate() ) { if ( myExporter.validate() ) {
bool ok = myExporter.exportArchive(pFile); bool ok = myExporter.exportArchive(pFile);
if ( !ok ) { if ( !ok ) {
@ -68,9 +68,8 @@ namespace D3MF {
#ifndef ASSIMP_BUILD_NO3MF_EXPORTER #ifndef ASSIMP_BUILD_NO3MF_EXPORTER
D3MFExporter::D3MFExporter( const char* pFile, IOSystem* pIOSystem, const aiScene* pScene ) D3MFExporter::D3MFExporter( const char* pFile, const aiScene* pScene )
: mIOSystem( pIOSystem ) : mArchiveName( pFile )
, mArchiveName( pFile )
, m_zipArchive( nullptr ) , m_zipArchive( nullptr )
, mScene( pScene ) , mScene( pScene )
, mBuildItems() , mBuildItems()

View File

@ -65,7 +65,7 @@ struct OpcPackageRelationship;
class D3MFExporter { class D3MFExporter {
public: public:
D3MFExporter( const char* pFile, IOSystem* pIOSystem, const aiScene* pScene ); D3MFExporter( const char* pFile, const aiScene* pScene );
~D3MFExporter(); ~D3MFExporter();
bool validate(); bool validate();
bool exportArchive( const char *file ); bool exportArchive( const char *file );
@ -83,7 +83,6 @@ protected:
void writeRelInfoToFile( const std::string &folder, const std::string &relName ); void writeRelInfoToFile( const std::string &folder, const std::string &relName );
private: private:
IOSystem *mIOSystem;
std::string mArchiveName; std::string mArchiveName;
zip_t *m_zipArchive; zip_t *m_zipArchive;
const aiScene *mScene; const aiScene *mScene;