From: apo Date: Tue, 31 May 2005 15:15:39 +0000 (+0000) Subject: To right initialization of SVTK_RenderWindowInteractor X-Git-Tag: T3_0_0_a1~57 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6b9cf1301572b112f8b20af93aaee2d6d8cda43e;p=modules%2Fgui.git To right initialization of SVTK_RenderWindowInteractor --- diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index ec6fbbede..3b03d944e 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -73,6 +73,7 @@ SVTK_ViewWindow // Create an interactor. myRWInteractor = SVTK_RenderWindowInteractor::New(); myRWInteractor->SetRenderWindow( myRenderWindow->getRenderWindow() ); + myRWInteractor->setViewWindow( this ); SVTK_InteractorStyle* RWS = SVTK_InteractorStyle::New(); RWS->setGUIWindow( myRenderWindow );