From: apo Date: Tue, 31 May 2005 15:18:35 +0000 (+0000) Subject: To right initialization of SVTK_RenderWindowInteractor X-Git-Tag: T3_0_0_a1~56 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=62e8dfbfe705eb200a332406b890bd86c97d0db4;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 3b03d944e..a6d58a5c2 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -78,9 +78,10 @@ SVTK_ViewWindow SVTK_InteractorStyle* RWS = SVTK_InteractorStyle::New(); RWS->setGUIWindow( myRenderWindow ); RWS->setViewWindow( this ); - myRWInteractor->SetInteractorStyle( RWS ); + myRWInteractor->SetInteractorStyle( RWS ); myRWInteractor->Initialize(); + RWS->setTriedron( myTrihedron ); RWS->FindPokedRenderer( 0, 0 );