]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0023482: EDF 15426 : SIGSEGV if activation of VTK viewer after OCC viewer
authorvsr <vsr@opencascade.com>
Wed, 13 Sep 2017 09:20:54 +0000 (12:20 +0300)
committervsr <vsr@opencascade.com>
Wed, 13 Sep 2017 09:20:54 +0000 (12:20 +0300)
src/SVTK/SVTK_RenderWindowInteractor.cxx

index c6278f7c2665cbe197a689dd12bafa7907d2a69f..c9c3858764eca5c6777b04c2b974f39bbdedd485 100644 (file)
@@ -604,10 +604,6 @@ SVTK_RenderWindowInteractor
     aStyle->SetInteractor(NULL);
     myInteractorStyles.pop();
   }
-
-  SetRenderer(NULL);
-
-  GetDevice()->SetRenderWindow(NULL);
 }
 
 /*!