IPAL52916: TC7.7.0:Triangle in "Threshold value" is missing after applying filter with criterion "Geometry type"

This commit is contained in:
eap 2015-10-08 17:25:45 +03:00
parent 8b8b2deedb
commit c4cacfb5c1
3 changed files with 4 additions and 4 deletions

View File

@ -1012,6 +1012,7 @@ void SMESHGUI_FilterTable::Init (const QList<int>& theTypes)
Table* aTable = createTable(mySwitchTableGrp, *typeIt); Table* aTable = createTable(mySwitchTableGrp, *typeIt);
myTables[ *typeIt ] = aTable; myTables[ *typeIt ] = aTable;
((QVBoxLayout*)mySwitchTableGrp->layout())->addWidget(myTables[ *typeIt ]); ((QVBoxLayout*)mySwitchTableGrp->layout())->addWidget(myTables[ *typeIt ]);
myEntityType = -1;
} }
} }
} }

View File

@ -532,6 +532,7 @@ void SMESHGUI_RemoveElementsDlg::setFilters()
if ( myMesh->NbVolumes() ) types << SMESH::VOLUME; if ( myMesh->NbVolumes() ) types << SMESH::VOLUME;
if ( myMesh->NbBalls() ) types << SMESH::BALL; if ( myMesh->NbBalls() ) types << SMESH::BALL;
if ( myMesh->Nb0DElements()) types << SMESH::ELEM0D; if ( myMesh->Nb0DElements()) types << SMESH::ELEM0D;
if ( types.count() > 1 ) types << SMESH::ALL;
myFilterDlg->Init( types ); myFilterDlg->Init( types );
myFilterDlg->SetSelection(); myFilterDlg->SetSelection();

View File

@ -4902,9 +4902,7 @@ Please, create VTK viewer and try again</translation>
<name>SMESHGUI_PrecomputeOp</name> <name>SMESHGUI_PrecomputeOp</name>
<message> <message>
<source>CLEAR_SUBMESH_QUESTION</source> <source>CLEAR_SUBMESH_QUESTION</source>
<translation>Temporary sub-meshes on the selected geometry <translation>Do you want to remove mesh entities generated during preview operation?</translation>
were created during preview operation.
Do you want to remove all these sub-meshes?</translation>
</message> </message>
<message> <message>
<source>SMESH_WRN_NOTHING_PREVIEW</source> <source>SMESH_WRN_NOTHING_PREVIEW</source>
@ -5742,7 +5740,7 @@ Please enter correct value and try again</translation>
</message> </message>
<message> <message>
<source>ELEMENTS</source> <source>ELEMENTS</source>
<translation>Elements</translation> <translation>All</translation>
</message> </message>
<message> <message>
<source>ENTITY_TYPE</source> <source>ENTITY_TYPE</source>