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

index 37a979d2b5e7a90426cdfb64600742280092eac6..64677654d212c9e733c3041da002c824cbe88a36 100644 (file)
@@ -654,13 +654,14 @@ bool MG_Tetra_API::LibData::Compute()
 
 MG_Tetra_API::MG_Tetra_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_TETRA_USE_EXE"))
     _useLib = false;
+#endif
 }
 
 //================================================================================