Salome HOME
bos #20233 EDF 22209 - Pb with MG-Tetra HPC V9_6_BR fixes_for_960 V9_6_0 V9_6_0rc1
authoreap <eap@opencascade.com>
Tue, 20 Oct 2020 14:20:22 +0000 (17:20 +0300)
committereap <eap@opencascade.com>
Tue, 20 Oct 2020 14:20:22 +0000 (17:20 +0300)
src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx

index a0b8b960349e577fdc4b001f0ab755e8c6e06116..2705370cfcdcacc041c5a020f17d22428e7f61ea 100644 (file)
@@ -385,12 +385,12 @@ bool GHS3DPRLPlugin_GHS3DPRL::Compute(SMESH_Mesh&         theMesh,
   // read a result, GHS3DPRL_Out is the name of master file (previous xml format)
   FILE * aResultFile = fopen( GHS3DPRL_Outxml.ToCString(), "r" );
   if (aResultFile){
-    Ok = false; //but it is not a problem but if true my message is overwritten
+    Ok = true;
     fclose(aResultFile);
     cout<<"GHS3DPRL OK output master file "<<casenamemed<<".xml exist !\n\n";
     pluginerror = pluginerror + "MG-tetra_hpc mesh(es) not loaded in memory, are stored in files "+ casenamemed + "_*.med";
     cout<<pluginerror<<endl;
-    error(COMPERR_NO_MESH_ON_SHAPE, pluginerror.ToCString());
+    error(COMPERR_WARNING, pluginerror.ToCString() );
     if (!_KeepFiles) system( run_nokeep_files.ToCString() );
   }
   else{