mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 15:44:16 +05:00
Fix for PAL13364(EDF PAL271 : Med export with not enough space on disk : No Warning message).
This commit is contained in:
parent
75c763d85b
commit
80c143d3ef
@ -987,9 +987,11 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform()
|
||||
}
|
||||
catch(const std::exception& exc) {
|
||||
INFOS("Follow exception was cought:\n\t"<<exc.what());
|
||||
throw;
|
||||
}
|
||||
catch(...) {
|
||||
INFOS("Unknown exception was cought !!!");
|
||||
throw;
|
||||
}
|
||||
|
||||
myMeshId = -1;
|
||||
|
@ -352,6 +352,8 @@ using namespace std;
|
||||
if ( aFile.exists() )
|
||||
aFile.remove();
|
||||
SUIT_OverrideCursor wc;
|
||||
|
||||
try {
|
||||
switch ( theCommandID ) {
|
||||
case 125:
|
||||
case 122:
|
||||
@ -369,6 +371,15 @@ using namespace std;
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (const SALOME::SALOME_Exception& S_ex){
|
||||
wc.suspend();
|
||||
SUIT_MessageBox::warn1(SMESHGUI::desktop(),
|
||||
QObject::tr("SMESH_WRN_WARNING"),
|
||||
QObject::tr("SMESH_EXPORT_FAILED"),
|
||||
QObject::tr("SMESH_BUT_OK"));
|
||||
wc.resume();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -173,6 +173,10 @@ msgstr "No available data in selection"
|
||||
msgid "SMESH_POLYEDRE_CREATE_ERROR"
|
||||
msgstr "Polyedron creation error"
|
||||
|
||||
#Export mesh
|
||||
msgid "SMESH_EXPORT_FAILED"
|
||||
msgstr "Mesh export failed.\nProbably, there is not enough space on disk."
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# MEN
|
||||
#-------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user