]> OCCT Git - occt-copy.git/commitdiff
Fix for issue #0028365: Visualization, AIS_InteractiveContext - apply selection filte...
authornds <nds@opencascade.com>
Wed, 18 Jan 2017 12:38:29 +0000 (15:38 +0300)
committernds <nds@opencascade.com>
Wed, 18 Jan 2017 12:38:29 +0000 (15:38 +0300)
src/AIS/AIS_InteractiveContext_1.cxx

index 0af8ae068acef4d78adfa2a6b09f69014a3cf153..e4d7a6f3ce8663e10ffaf44ca125a0a176c6ff05 100644 (file)
@@ -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);