From 436cccec5f4b7535a00ad549aba2aef16cb67fda Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 8 May 2020 17:32:23 +0300 Subject: [PATCH] bos #19060 [CEA] Fatal error no persistant file when loading SMESH (attempt 2) --- src/GEOM/GEOM_Engine.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } //============================================================================= -- 2.39.2