From: asl Date: Mon, 12 Dec 2005 13:05:41 +0000 (+0000) Subject: During EraseAll all objects must be unhilighted X-Git-Tag: T_3_1_0pre~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b319591a191f1f396197ed50a98564932bd4feca;p=modules%2Fgui.git During EraseAll all objects must be unhilighted --- 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();