0025466: Visualization - Impossible to change the display mode when a local context...
[occt.git] / src / AIS / AIS_InteractiveContext.cxx
index 8f3e0bd..8caf9ad 100644 (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);