1
0
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:
kgv
2015-01-15 15:25:52 +03:00
committed by bugmaster
parent 63d907e787
commit cd0a63dd7b
2 changed files with 25 additions and 5 deletions

View File

@@ -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);