From 6b9cf1301572b112f8b20af93aaee2d6d8cda43e Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 31 May 2005 15:15:39 +0000 Subject: [PATCH] To right initialization of SVTK_RenderWindowInteractor --- src/SVTK/SVTK_ViewWindow.cxx | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.39.2