]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To right initialization of SVTK_RenderWindowInteractor
authorapo <apo@opencascade.com>
Tue, 31 May 2005 15:18:35 +0000 (15:18 +0000)
committerapo <apo@opencascade.com>
Tue, 31 May 2005 15:18:35 +0000 (15:18 +0000)
src/SVTK/SVTK_ViewWindow.cxx

index 3b03d944ecad162dea6b3d9841accc7158e51793..a6d58a5c20a5fec40c50433450464e8b2fda7be5 100755 (executable)
@@ -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 );