]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
53562: TC8.1.0:Mesh computation failed
authoreap <eap@opencascade.com>
Wed, 7 Sep 2016 10:04:20 +0000 (13:04 +0300)
committereap <eap@opencascade.com>
Wed, 7 Sep 2016 10:04:20 +0000 (13:04 +0300)
src/HYBRIDPlugin/MG_HYBRID_API.cxx

index f32793dd5e04584b45c7cf115fb8bafbff27c93b..4f7c925043c7be8a904ef3fb5ff8e623bcbc2a53 100644 (file)
@@ -721,13 +721,14 @@ bool MG_HYBRID_API::LibData::Compute()
 
 MG_HYBRID_API::MG_HYBRID_API(volatile bool& cancelled_flag, double& progress)
 {
+  _useLib = false;
 #ifdef USE_MG_LIBS
   _useLib = true;
   _libData = new LibData( cancelled_flag, progress );
   _libData->Init();
-#endif
   if ( getenv("MG_HYBRID_USE_EXE"))
     _useLib = false;
+#endif
 }
 
 //================================================================================