]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL52916: TC7.7.0:Triangle in "Threshold value" is missing after applying filter...
authoreap <eap@opencascade.com>
Thu, 8 Oct 2015 14:25:45 +0000 (17:25 +0300)
committereap <eap@opencascade.com>
Thu, 8 Oct 2015 14:25:45 +0000 (17:25 +0300)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx
src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx
src/SMESHGUI/SMESH_msg_en.ts

index 51c6b65c59be0a51c95f7f5a315180413ccccb93..97f1df847d47671462c6830e5880de2cc680197a 100755 (executable)
@@ -1012,6 +1012,7 @@ void SMESHGUI_FilterTable::Init (const QList<int>& theTypes)
         Table* aTable = createTable(mySwitchTableGrp, *typeIt);
         myTables[ *typeIt ] = aTable;
         ((QVBoxLayout*)mySwitchTableGrp->layout())->addWidget(myTables[ *typeIt ]);
+        myEntityType = -1;
       }
     }
   }
index 2868c1ed60a815c258d55e157f0d8ec205be6e7b..1decdeff61f3cad222877bc3958701877badba6f 100644 (file)
@@ -532,6 +532,7 @@ void SMESHGUI_RemoveElementsDlg::setFilters()
   if ( myMesh->NbVolumes()   ) types << SMESH::VOLUME;
   if ( myMesh->NbBalls()     ) types << SMESH::BALL;
   if ( myMesh->Nb0DElements()) types << SMESH::ELEM0D;
+  if ( types.count() > 1 )     types << SMESH::ALL;
 
   myFilterDlg->Init( types );
   myFilterDlg->SetSelection();
index b5a14c83d35b282b4e2fd24ba6cff73e7e707d89..a235b9cc9dc8cac5118d807d583cb4f9e970029b 100644 (file)
@@ -4902,9 +4902,7 @@ Please, create VTK viewer and try again</translation>
     <name>SMESHGUI_PrecomputeOp</name>
     <message>
         <source>CLEAR_SUBMESH_QUESTION</source>
-        <translation>Temporary sub-meshes on the selected geometry
-were created during preview operation.
-Do you want to remove all these sub-meshes?</translation>
+        <translation>Do you want to remove mesh entities generated during preview operation?</translation>
     </message>
     <message>
         <source>SMESH_WRN_NOTHING_PREVIEW</source>
@@ -5742,7 +5740,7 @@ Please enter correct value and try again</translation>
     </message>
     <message>
         <source>ELEMENTS</source>
-        <translation>Elements</translation>
+        <translation>All</translation>
     </message>
     <message>
         <source>ENTITY_TYPE</source>