]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
bos #19060 [CEA] Fatal error no persistant file when loading SMESH (attempt 2)
authorvsr <vsr@opencascade.com>
Fri, 8 May 2020 14:32:23 +0000 (17:32 +0300)
committervsr <vsr@opencascade.com>
Fri, 8 May 2020 14:32:23 +0000 (17:32 +0300)
src/GEOM/GEOM_Engine.cxx

index 7588e7c3b2fefb6e1eca8c52e7f9897c9140a27a..0386e423693ea90a94323fee37fd37f70cf1e6b0 100644 (file)
@@ -519,9 +519,7 @@ bool GEOM_Engine::Save(const char* theFileName)
   std::string aFileName = theFileName;
 #endif
 
-  _OCAFApp->SaveAs( _document, aFileName.c_str() );
-
-  return true;
+  return _OCAFApp->SaveAs( _document, aFileName.c_str() ) == PCDM_SS_OK;
 }
 
 //=============================================================================