mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026596: Visualization - hidden twice times structure should not be selectable
Activated selection mode for the object that was displayed previously is now added to global status; Test case for issue #26596
This commit is contained in:
@@ -534,6 +534,8 @@ void AIS_InteractiveContext::Display (const Handle(AIS_InteractiveObject)& theIO
|
||||
}
|
||||
if (!mgrSelector->IsActivated (theIObj, theSelectionMode))
|
||||
{
|
||||
if (!aStatus->IsSModeIn (theSelectionMode))
|
||||
aStatus->AddSelectionMode (theSelectionMode);
|
||||
mgrSelector->Activate (theIObj, theSelectionMode, myMainSel);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user