From: ouv Date: Wed, 25 Apr 2012 10:22:11 +0000 (+0000) Subject: IPAL22907: TC6.5.0: Selection in Create group doesn’t work if the filter ‘Source... X-Git-Tag: TRIPOLI_323~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0bb2ab48988e53121739b6a306451bddec4b96e7;p=modules%2Fsmesh.git IPAL22907: TC6.5.0: Selection in Create group doesn’t work if the filter ‘Source’ is set to ‘Initial Selection’ Rolling back part of integration made in revision 1.21.2.5.6.12 --- diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index adf4c57a2..0474c389f 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -3188,6 +3188,7 @@ void SMESHGUI_FilterDlg::filterSource (const int theType, // filter ids SMESH::Predicate_ptr aPred = myFilter[ theType ]->GetPredicate(); + aPred->SetMesh(myMesh); QList::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()))