mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
Fix of INT PAL 0022077: TC5.1.5: usage of filters in Modification dialogs, Add button.
1) Don't clear selection at open of dialog; 2) Disable automatic insert of selected elements in the list box; 3) Don't clear mesh selection during geometry selection.
This commit is contained in:
parent
d6600c3aeb
commit
16ed45cd7d
@ -607,7 +607,9 @@ void SMESHGUI_MultiEditDlg::onSelectionDone()
|
|||||||
anItem->setSelected(true);
|
anItem->setSelected(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
myMesh = SMESH::GetMeshByIO(anIO);
|
SMESH::SMESH_Mesh_var aSelMesh = SMESH::GetMeshByIO(anIO);
|
||||||
|
if (!aSelMesh->_is_nil())
|
||||||
|
myMesh = aSelMesh;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nbSel > 0) {
|
if (nbSel > 0) {
|
||||||
@ -662,7 +664,7 @@ void SMESHGUI_MultiEditDlg::onFilterBtn()
|
|||||||
|
|
||||||
myFilterDlg->SetSelection();
|
myFilterDlg->SetSelection();
|
||||||
myFilterDlg->SetMesh(myMesh);
|
myFilterDlg->SetMesh(myMesh);
|
||||||
myFilterDlg->SetSourceWg(myListBox);
|
myFilterDlg->SetSourceWg(myListBox, false);
|
||||||
|
|
||||||
myFilterDlg->show();
|
myFilterDlg->show();
|
||||||
}
|
}
|
||||||
@ -976,7 +978,7 @@ void SMESHGUI_MultiEditDlg::setSelectionMode()
|
|||||||
{
|
{
|
||||||
SMESH::RemoveFilters();
|
SMESH::RemoveFilters();
|
||||||
|
|
||||||
mySelectionMgr->clearSelected();
|
// mySelectionMgr->clearSelected();
|
||||||
mySelectionMgr->clearFilters();
|
mySelectionMgr->clearFilters();
|
||||||
|
|
||||||
if (mySubmeshChk->isChecked()) {
|
if (mySubmeshChk->isChecked()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user