From: vsr Date: Wed, 13 Sep 2017 09:20:54 +0000 (+0300) Subject: 0023482: EDF 15426 : SIGSEGV if activation of VTK viewer after OCC viewer X-Git-Tag: V8_4_0a2~2^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9ecacdb0c6bc3dd920112c1774af9a78abe52de;p=modules%2Fgui.git 0023482: EDF 15426 : SIGSEGV if activation of VTK viewer after OCC viewer --- diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index c6278f7c2..c9c385876 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -604,10 +604,6 @@ SVTK_RenderWindowInteractor aStyle->SetInteractor(NULL); myInteractorStyles.pop(); } - - SetRenderer(NULL); - - GetDevice()->SetRenderWindow(NULL); } /*!