1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0030672: Visualization - AIS_InteractiveContext::SetLocation() sets invalid selection BVH flag to removed object

SelectMgr_SelectionManager::Remove() now deactivates selection before removal.
This commit is contained in:
kgv
2019-04-24 09:16:19 +03:00
committed by bugmaster
parent 245cbf9441
commit 66278500db
2 changed files with 22 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ void SelectMgr_SelectionManager::Remove (const Handle(SelectMgr_SelectableObject
{
mySelector->RemoveSelectionOfObject (theObject, aSelIter.Value());
aSelIter.Value()->UpdateBVHStatus (SelectMgr_TBU_Remove);
mySelector->Deactivate (aSelIter.Value());
}
mySelector->RemoveSelectableObject (theObject);
}