]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Porting to new SVTK interface
authorapo <apo@opencascade.com>
Tue, 23 Aug 2005 08:34:37 +0000 (08:34 +0000)
committerapo <apo@opencascade.com>
Tue, 23 Aug 2005 08:34:37 +0000 (08:34 +0000)
src/SALOME_PY/SalomePy.cxx

index 1013f34cc00dfa924abc7af6830799d3c8381548..76680a9dc0afe35c7b5ed089c616d80f6b504737 100755 (executable)
@@ -153,7 +153,7 @@ public:
   virtual void Execute() {
     if( SVTK_ViewWindow* aVTKViewWindow = GetVTKViewWindow() ) {
       PyObject* aPyClass = GetPyClass("vtkRenderWindowInteractor");
-      vtkRenderWindowInteractor* aVTKObject = aVTKViewWindow->getRWInteractor();
+      vtkRenderWindowInteractor* aVTKObject = aVTKViewWindow->getRWInteractor()->getInteractor();
       myResult = PyVTKObject_New(aPyClass,aVTKObject);
     }
   }