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)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 14 Sep 2017 12:36:36 +0000 (14:36 +0200)
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);
 }
 
 /*!