mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
Correction for bug IPAL12631.
This commit is contained in:
parent
7360772d88
commit
fba89e60bc
@ -2289,9 +2289,11 @@ void SMESHGUI_FilterDlg::insertFilterInViewer()
|
||||
myFilter[ myTable->GetType() ]->GetPredicate()->_is_nil() ||
|
||||
!mySetInViewer->isChecked()) {
|
||||
SMESH::RemoveFilter(getFilterId(anEntType), aSelector);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
Handle(SMESHGUI_PredicateFilter) aFilter = new SMESHGUI_PredicateFilter();
|
||||
aFilter->SetPredicate(myFilter[ myTable->GetType() ]->GetPredicate());
|
||||
SMESH::RemoveFilter(getFilterId(anEntType), aSelector); //skl for IPAL12631
|
||||
SMESH::SetFilter(aFilter, aSelector);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user