0027957: Visualization, AIS_InteractiveContext - protect from displaying the same...
[occt.git] / src / ViewerTest / ViewerTest_ViewerCommands.cxx
index e130388..bd57553 100644 (file)
@@ -1138,6 +1138,8 @@ void ViewerTest::RemoveView (const TCollection_AsciiString& theViewName, const S
           break;
         }
       }
+
+      aCurrentContext->RemoveAll (Standard_False);
       if(isRemoveDriver)
       {
         ViewerTest_myDrivers.UnBind2 (aCurrentContext->CurrentViewer()->Driver());