From: vsr Date: Fri, 8 May 2020 14:32:23 +0000 (+0300) Subject: bos #19060 [CEA] Fatal error no persistant file when loading SMESH (attempt 2) X-Git-Tag: V9_5_0b1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=436cccec5f4b7535a00ad549aba2aef16cb67fda;p=modules%2Fgeom.git bos #19060 [CEA] Fatal error no persistant file when loading SMESH (attempt 2) --- diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index 7588e7c3b..0386e4236 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -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; } //=============================================================================