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