From: enk Date: Fri, 25 May 2007 13:44:46 +0000 (+0000) Subject: Fixed bug with dinamic loading of ACIS plugin X-Git-Tag: V3_2_7~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=00de63973795a2d74af7fdc010c1b31339b49619;p=modules%2Fgeom.git Fixed bug with dinamic loading of ACIS plugin --- diff --git a/src/GEOMImpl/GEOMImpl_ExportDriver.cxx b/src/GEOMImpl/GEOMImpl_ExportDriver.cxx index 77d6acc32..190116ccb 100644 --- a/src/GEOMImpl/GEOMImpl_ExportDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ExportDriver.cxx @@ -111,7 +111,10 @@ Standard_Integer GEOMImpl_ExportDriver::Execute(TFunction_Logbook& log) const int res = fp( aShape, aFileName, aFormatName ); // unload plugin library - UnLoadLib( anExportLib ); + // commented by enk: + // the bug was occured: using ACIS Import/Export plugin + // UnLoadLib( anExportLib ); + if ( res ) log.SetTouched(Label()); diff --git a/src/GEOMImpl/GEOMImpl_ImportDriver.cxx b/src/GEOMImpl/GEOMImpl_ImportDriver.cxx index b20706d1e..0d1480f85 100644 --- a/src/GEOMImpl/GEOMImpl_ImportDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ImportDriver.cxx @@ -106,7 +106,9 @@ Standard_Integer GEOMImpl_ImportDriver::Execute(TFunction_Logbook& log) const TopoDS_Shape aShape = fp( aFileName, aFormatName, anError ); // unload plugin library - UnLoadLib( anImportLib ); + // commented by enk: + // the bug was occured: using ACIS Import/Export plugin + //UnLoadLib( anImportLib ); if ( aShape.IsNull() ) { StdFail_NotDone::Raise(anError.ToCString());