mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025466: Visualization - Impossible to change the display mode when a local context is opened
Remove irrelevant check from method AIS_InteractiveContext::SetDisplayMode(). Test case for issue CR25466
This commit is contained in:
@@ -1461,11 +1461,6 @@ void AIS_InteractiveContext::SetDisplayMode (const Handle(AIS_InteractiveObject)
|
||||
theIObj->SetContext(this);
|
||||
}
|
||||
|
||||
if (HasOpenedContext())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!myObjects.IsBound (theIObj))
|
||||
{
|
||||
theIObj->SetDisplayMode (theMode);
|
||||
|
Reference in New Issue
Block a user