bos #19060 [CEA] Fatal error no persistant file when loading SMESH (attempt 2)

This commit is contained in:
vsr 2020-05-08 17:32:23 +03:00
parent 49fd9a6330
commit 436cccec5f

View 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;
}
//=============================================================================