From b319591a191f1f396197ed50a98564932bd4feca Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 12 Dec 2005 13:05:41 +0000 Subject: [PATCH] During EraseAll all objects must be unhilighted --- src/SVTK/SVTK_ViewModel.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SVTK/SVTK_ViewModel.cxx b/src/SVTK/SVTK_ViewModel.cxx index d9bfb6164..a8a11fbd2 100644 --- a/src/SVTK/SVTK_ViewModel.cxx +++ b/src/SVTK/SVTK_ViewModel.cxx @@ -368,6 +368,9 @@ SVTK_Viewer for(int i = 0, iEnd = aViews.size(); i < iEnd; i++){ if(SUIT_ViewWindow* aViewWindow = aViews.at(i)){ if(SVTK_ViewWindow* aView = dynamic_cast(aViewWindow)){ + + aView->unHighlightAll(); + vtkRenderer* aRenderer = aView->getRenderer(); vtkActorCollection* anActorCollection = aRenderer->GetActors(); anActorCollection->InitTraversal(); -- 2.39.2