Salome HOME
PAL18501 Bug in Netgen 1D2D3D assignement
authoreap <eap@opencascade.com>
Tue, 29 Jan 2008 15:36:56 +0000 (15:36 +0000)
committereap <eap@opencascade.com>
Tue, 29 Jan 2008 15:36:56 +0000 (15:36 +0000)
    Notify not on hidden algorithm but on ignored submesh

src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx
src/SMESHGUI/SMESH_msg_en.po

index 95af2f6e14cff674219c52023802d3795bd31cb5..6a393a25404cc2ae021d72e3d33eae05738d9fd9 100644 (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,
index 910799df3b5e7f3f64c063cc563e4e2353c6c32d..35d1ed9d66c167c804d9c50906179cf87a07ebfe 100644 (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"