From d486ae29c5ab887e1bdde137c2f8dca457863e70 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 18 Jan 2017 15:38:29 +0300 Subject: [PATCH] Fix for issue #0028365: Visualization, AIS_InteractiveContext - apply selection filter in AddOrRemoveSelected at Neutral point --- src/AIS/AIS_InteractiveContext_1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AIS/AIS_InteractiveContext_1.cxx b/src/AIS/AIS_InteractiveContext_1.cxx index 0af8ae068a..e4d7a6f3ce 100644 --- a/src/AIS/AIS_InteractiveContext_1.cxx +++ b/src/AIS/AIS_InteractiveContext_1.cxx @@ -1202,7 +1202,7 @@ void AIS_InteractiveContext::AddOrRemoveSelected (const Handle(SelectMgr_EntityO if (HasOpenedContext()) return myLocalContexts(myCurLocalIndex)->AddOrRemoveSelected (theOwner, theToUpdateViewer); - if (theOwner.IsNull() || !theOwner->HasSelectable()) + if (theOwner.IsNull() || !theOwner->HasSelectable() || !myFilters->IsOk(theOwner)) return; AIS_SelectStatus aSelStat = mySelection->Select (theOwner); -- 2.39.5