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

index 1132cefd967013b45c67315e3c273f0b753f17c7..5e6e1610d14f18d400b38cb7e5d438ec02b60b90 100644 (file)
@@ -713,13 +713,14 @@ bool MG_Hexotic_API::LibData::Compute()
 
 MG_Hexotic_API::MG_Hexotic_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_HEXA_USE_EXE"))
     _useLib = false;
+#endif
 }
 
 //================================================================================