X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FIGESPlugin%2FIGESPlugin_IOperations.cxx;h=ca9b3224d8c25a9a056b553c00c9974a707b9a75;hb=4558fc1b449496ec26465a580259e0132b913644;hp=d8131444e9e2572b6d81c58d66a3811ac0171406;hpb=2736f682fe0d63fbaf9dff49c46b4fa6c23d72ce;p=modules%2Fgeom.git diff --git a/src/IGESPlugin/IGESPlugin_IOperations.cxx b/src/IGESPlugin/IGESPlugin_IOperations.cxx index d8131444e..ca9b3224d 100644 --- a/src/IGESPlugin/IGESPlugin_IOperations.cxx +++ b/src/IGESPlugin/IGESPlugin_IOperations.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -38,8 +38,8 @@ * Constructor */ //============================================================================= -IGESPlugin_IOperations::IGESPlugin_IOperations( GEOM_Engine* theEngine, int theDocID ) -: GEOMImpl_IBaseIEOperations( theEngine, theDocID ) +IGESPlugin_IOperations::IGESPlugin_IOperations( GEOM_Engine* theEngine ) +: GEOMImpl_IBaseIEOperations( theEngine ) { MESSAGE( "IGESPlugin_IOperations::IGESPlugin_IOperations" ); } @@ -77,7 +77,7 @@ void IGESPlugin_IOperations::ExportIGES( const Handle(GEOM_Object) theOrigi if( aRefFunction.IsNull() ) return; //There is no function which creates an object to be exported //Add a new result object - Handle(GEOM_Object) result = GetEngine()->AddObject( GetDocID(), GEOM_IMPORT); + Handle(GEOM_Object) result = GetEngine()->AddObject( GEOM_IMPORT); //Add an Export function Handle(GEOM_Function) aFunction = result->AddFunction( IGESPlugin_ExportDriver::GetID(), EXPORT_SHAPE ); @@ -128,7 +128,7 @@ IGESPlugin_IOperations::ImportIGES( const TCollection_AsciiString& theFileName, if( theFileName.IsEmpty() ) return NULL; //Add a new result object - Handle(GEOM_Object) anImported = GetEngine()->AddObject( GetDocID(), GEOM_IMPORT ); + Handle(GEOM_Object) anImported = GetEngine()->AddObject( GEOM_IMPORT ); //Add an Import function Handle(GEOM_Function) aFunction = @@ -154,7 +154,7 @@ IGESPlugin_IOperations::ImportIGES( const TCollection_AsciiString& theFileName, } aSeq->Append(anImported); - // Greate material groups. + // Create material groups. // MakeMaterialGroups( anImported, aSeq ); } catch( Standard_Failure& aFail ) {