From: eap Date: Thu, 8 Oct 2015 14:25:45 +0000 (+0300) Subject: IPAL52916: TC7.7.0:Triangle in "Threshold value" is missing after applying filter... X-Git-Tag: V7_7_0_WIN~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4cacfb5c15254953d6a1ce60a2196e099c91a9a;p=modules%2Fsmesh.git IPAL52916: TC7.7.0:Triangle in "Threshold value" is missing after applying filter with criterion "Geometry type" --- diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 51c6b65c5..97f1df847 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -1012,6 +1012,7 @@ void SMESHGUI_FilterTable::Init (const QList& theTypes) Table* aTable = createTable(mySwitchTableGrp, *typeIt); myTables[ *typeIt ] = aTable; ((QVBoxLayout*)mySwitchTableGrp->layout())->addWidget(myTables[ *typeIt ]); + myEntityType = -1; } } } diff --git a/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx b/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx index 2868c1ed6..1decdeff6 100644 --- a/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx @@ -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(); diff --git a/src/SMESHGUI/SMESH_msg_en.ts b/src/SMESHGUI/SMESH_msg_en.ts index b5a14c83d..a235b9cc9 100644 --- a/src/SMESHGUI/SMESH_msg_en.ts +++ b/src/SMESHGUI/SMESH_msg_en.ts @@ -4902,9 +4902,7 @@ Please, create VTK viewer and try again SMESHGUI_PrecomputeOp CLEAR_SUBMESH_QUESTION - Temporary sub-meshes on the selected geometry -were created during preview operation. -Do you want to remove all these sub-meshes? + Do you want to remove mesh entities generated during preview operation? SMESH_WRN_NOTHING_PREVIEW @@ -5742,7 +5740,7 @@ Please enter correct value and try again ELEMENTS - Elements + All ENTITY_TYPE