mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
Fix for issue #0028365: Visualization, AIS_InteractiveContext - apply selection filter in AddOrRemoveSelected at Neutral point
This commit is contained in:
@@ -1202,7 +1202,7 @@ void AIS_InteractiveContext::AddOrRemoveSelected (const Handle(SelectMgr_EntityO
|
|||||||
if (HasOpenedContext())
|
if (HasOpenedContext())
|
||||||
return myLocalContexts(myCurLocalIndex)->AddOrRemoveSelected (theOwner, theToUpdateViewer);
|
return myLocalContexts(myCurLocalIndex)->AddOrRemoveSelected (theOwner, theToUpdateViewer);
|
||||||
|
|
||||||
if (theOwner.IsNull() || !theOwner->HasSelectable())
|
if (theOwner.IsNull() || !theOwner->HasSelectable() || !myFilters->IsOk(theOwner))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
AIS_SelectStatus aSelStat = mySelection->Select (theOwner);
|
AIS_SelectStatus aSelStat = mySelection->Select (theOwner);
|
||||||
|
Reference in New Issue
Block a user