]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To ajust to the new SVTK interface
authorapo <apo@opencascade.com>
Wed, 24 Aug 2005 05:57:33 +0000 (05:57 +0000)
committerapo <apo@opencascade.com>
Wed, 24 Aug 2005 05:57:33 +0000 (05:57 +0000)
src/SALOME_PY/SalomePy.cxx

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