mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-06 23:00:34 +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
|
// filter ids
|
||||||
SMESH::Predicate_ptr aPred = myFilter[ theType ]->GetPredicate();
|
SMESH::Predicate_ptr aPred = myFilter[ theType ]->GetPredicate();
|
||||||
|
aPred->SetMesh(myMesh);
|
||||||
QList<int>::const_iterator anIter;
|
QList<int>::const_iterator anIter;
|
||||||
for (anIter = aDialogIds.begin(); anIter != aDialogIds.end(); ++ anIter)
|
for (anIter = aDialogIds.begin(); anIter != aDialogIds.end(); ++ anIter)
|
||||||
if (aPred->IsSatisfy(*anIter))
|
if (aPred->IsSatisfy(*anIter))
|
||||||
@ -3260,6 +3261,7 @@ void SMESHGUI_FilterDlg::filterSelectionSource (const int theType,
|
|||||||
|
|
||||||
// Filter entities
|
// Filter entities
|
||||||
SMESH::Predicate_ptr aPred = myFilter[ theType ]->GetPredicate();
|
SMESH::Predicate_ptr aPred = myFilter[ theType ]->GetPredicate();
|
||||||
|
aPred->SetMesh(myMesh);
|
||||||
TColStd_MapIteratorOfMapOfInteger aResIter(aToBeFiltered);
|
TColStd_MapIteratorOfMapOfInteger aResIter(aToBeFiltered);
|
||||||
for ( ; aResIter.More(); aResIter.Next())
|
for ( ; aResIter.More(); aResIter.Next())
|
||||||
if (aPred->IsSatisfy(aResIter.Key()))
|
if (aPred->IsSatisfy(aResIter.Key()))
|
||||||
|
Loading…
Reference in New Issue
Block a user