mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 01:22:05 +05:00
Fixed bug with dinamic loading of ACIS plugin
This commit is contained in:
parent
6db71a9f9d
commit
00de639737
@ -111,7 +111,10 @@ Standard_Integer GEOMImpl_ExportDriver::Execute(TFunction_Logbook& log) const
|
|||||||
int res = fp( aShape, aFileName, aFormatName );
|
int res = fp( aShape, aFileName, aFormatName );
|
||||||
|
|
||||||
// unload plugin library
|
// unload plugin library
|
||||||
UnLoadLib( anExportLib );
|
// commented by enk:
|
||||||
|
// the bug was occured: using ACIS Import/Export plugin
|
||||||
|
// UnLoadLib( anExportLib );
|
||||||
|
|
||||||
if ( res )
|
if ( res )
|
||||||
log.SetTouched(Label());
|
log.SetTouched(Label());
|
||||||
|
|
||||||
|
@ -106,7 +106,9 @@ Standard_Integer GEOMImpl_ImportDriver::Execute(TFunction_Logbook& log) const
|
|||||||
TopoDS_Shape aShape = fp( aFileName, aFormatName, anError );
|
TopoDS_Shape aShape = fp( aFileName, aFormatName, anError );
|
||||||
|
|
||||||
// unload plugin library
|
// unload plugin library
|
||||||
UnLoadLib( anImportLib );
|
// commented by enk:
|
||||||
|
// the bug was occured: using ACIS Import/Export plugin
|
||||||
|
//UnLoadLib( anImportLib );
|
||||||
|
|
||||||
if ( aShape.IsNull() ) {
|
if ( aShape.IsNull() ) {
|
||||||
StdFail_NotDone::Raise(anError.ToCString());
|
StdFail_NotDone::Raise(anError.ToCString());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user