From 0bb2ab48988e53121739b6a306451bddec4b96e7 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 25 Apr 2012 10:22:11 +0000 Subject: [PATCH] =?utf8?q?IPAL22907:=20TC6.5.0:=20Selection=20in=20Create?= =?utf8?q?=20group=20doesn=C2=92t=20work=20if=20the=20filter=20=C2=91Sourc?= =?utf8?q?e=C2=92=20is=20set=20to=20=C2=91Initial=20Selection=C2=92=20Roll?= =?utf8?q?ing=20back=20part=20of=20integration=20made=20in=20revision=201.?= =?utf8?q?21.2.5.6.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/SMESHGUI/SMESHGUI_FilterDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) 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())) -- 2.39.2