mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 06:10:33 +05:00
IPAL22907: TC6.5.0: Selection in Create group doesnt work if the filter Source is set to Initial Selection
Rolling back part of integration made in revision 1.21.2.5.6.12
This commit is contained in:
parent
0c8bff7618
commit
0bb2ab4898
@ -3188,6 +3188,7 @@ void SMESHGUI_FilterDlg::filterSource (const int theType,
|
||||
|
||||
// filter ids
|
||||
SMESH::Predicate_ptr aPred = myFilter[ theType ]->GetPredicate();
|
||||
aPred->SetMesh(myMesh);
|
||||
QList<int>::const_iterator anIter;
|
||||
for (anIter = aDialogIds.begin(); anIter != aDialogIds.end(); ++ anIter)
|
||||
if (aPred->IsSatisfy(*anIter))
|
||||
@ -3260,6 +3261,7 @@ void SMESHGUI_FilterDlg::filterSelectionSource (const int theType,
|
||||
|
||||
// Filter entities
|
||||
SMESH::Predicate_ptr aPred = myFilter[ theType ]->GetPredicate();
|
||||
aPred->SetMesh(myMesh);
|
||||
TColStd_MapIteratorOfMapOfInteger aResIter(aToBeFiltered);
|
||||
for ( ; aResIter.More(); aResIter.Next())
|
||||
if (aPred->IsSatisfy(aResIter.Key()))
|
||||
|
Loading…
Reference in New Issue
Block a user