]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fixed bug with dinamic loading of ACIS plugin
authorenk <enk@opencascade.com>
Fri, 25 May 2007 13:44:46 +0000 (13:44 +0000)
committerenk <enk@opencascade.com>
Fri, 25 May 2007 13:44:46 +0000 (13:44 +0000)
src/GEOMImpl/GEOMImpl_ExportDriver.cxx
src/GEOMImpl/GEOMImpl_ImportDriver.cxx

index 77d6acc32b11f2156541ce605e3a5fc9acd79269..190116ccb8c30aa50f63a393ce6d7fefe79d1086 100644 (file)
@@ -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()); 
 
index b20706d1ec32053ebf4ae0304666aed3c50e7b23..0d1480f85087042c4afc1ab3d3d6b86f26e3ae24 100644 (file)
@@ -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());