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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user