From: snn Date: Wed, 17 Mar 2021 15:37:05 +0000 (+0300) Subject: 0030737: Visualization - implementing new selection schemes in context (revert filter... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=dccfef105c7dee68680d34058fd4b7287e0ed556;p=occt-copy.git 0030737: Visualization - implementing new selection schemes in context (revert filter reaction) --- diff --git a/src/AIS/AIS_Selection.cxx b/src/AIS/AIS_Selection.cxx index 659b67d0d9..38a634b609 100644 --- a/src/AIS/AIS_Selection.cxx +++ b/src/AIS/AIS_Selection.cxx @@ -205,7 +205,7 @@ void AIS_Selection::SelectOwners (const AIS_NArray1OfEntityOwner& thePickedOwner const Handle(SelectMgr_EntityOwner)& anOwner = aSelIter.Value(); if (anOwner.IsNull() || !anOwner->HasSelectable() - || !theFilter->IsOk (anOwner, SelectMgr_FilterReaction_Select)) + || !theFilter->IsOk (anOwner)) { continue; } @@ -231,7 +231,7 @@ AIS_SelectStatus AIS_Selection::appendOwner (const Handle(SelectMgr_EntityOwner) { if (theOwner.IsNull() || !theOwner->HasSelectable() - || !theFilter->IsOk (theOwner, SelectMgr_FilterReaction_Select)) + || !theFilter->IsOk (theOwner)) { return AIS_SS_NotDone; } @@ -247,7 +247,7 @@ AIS_SelectStatus AIS_Selection::XOROwner (const Handle(SelectMgr_EntityOwner)& t const AIS_NListOfEntityOwner& thePreviousSelected, const Handle(SelectMgr_Filter)& theFilter) { - if (theOwner.IsNull() || !theOwner->HasSelectable() || !theFilter->IsOk (theOwner, SelectMgr_FilterReaction_Select)) + if (theOwner.IsNull() || !theOwner->HasSelectable() || !theFilter->IsOk (theOwner)) return AIS_SS_NotDone; if (thePreviousSelected.Contains (theOwner)) // was selected, should not be now