]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
During EraseAll all objects must be unhilighted
authorasl <asl@opencascade.com>
Mon, 12 Dec 2005 13:05:41 +0000 (13:05 +0000)
committerasl <asl@opencascade.com>
Mon, 12 Dec 2005 13:05:41 +0000 (13:05 +0000)
src/SVTK/SVTK_ViewModel.cxx

index d9bfb616479437a883554179075da683760a7747..a8a11fbd2e8115a911c6832651112b6733018169 100644 (file)
@@ -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<SVTK_ViewWindow*>(aViewWindow)){
+
+       aView->unHighlightAll();
+
        vtkRenderer* aRenderer =  aView->getRenderer();
        vtkActorCollection* anActorCollection = aRenderer->GetActors();
        anActorCollection->InitTraversal();