PAL18501 Bug in Netgen 1D2D3D assignement

Notify not on hidden algorithm but on ignored submesh
This commit is contained in:
eap 2008-01-29 15:36:56 +00:00
parent b55aba176d
commit 28789eefb2
2 changed files with 4 additions and 1 deletions

View File

@ -113,6 +113,9 @@ namespace SMESH{
aMsg = QObject::tr(aMsg).arg(aHypName) +
QObject::tr(QString("SMESH_HYP_%1").arg(theHypStatus));
if ( theHypStatus == SMESH::HYP_HIDDEN_ALGO ) // PAL18501
aMsg = aMsg.arg( GetHypothesisData(theHyp->GetName())->Dim[0] );
SUIT_MessageBox::warn1(SMESHGUI::desktop(),
QObject::tr("SMESH_WRN_WARNING"),
aMsg,

View File

@ -1319,7 +1319,7 @@ msgid "SMESH_HYP_3"
msgstr "Hypothesis has a bad parameter value"
msgid "SMESH_HYP_4"
msgstr "Algorithm is hidden by an algorithm of upper dimension generating all-dimensions elements"
msgstr "Submesh is ignored as there is another algorithm of upper dimension generating %1D elements"
msgid "SMESH_HYP_5"
msgstr "Algorithm hides algorithm(s) of lower dimension by generating all-dimensions elements"