From: apo Date: Wed, 24 Aug 2005 05:57:33 +0000 (+0000) Subject: To ajust to the new SVTK interface X-Git-Tag: BR-D5-38-2003_D2005-12-09~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8435ee32941041a10749c949f6a9e41a7664219e;p=modules%2Fgui.git To ajust to the new SVTK interface --- diff --git a/src/SALOME_PY/SalomePy.cxx b/src/SALOME_PY/SalomePy.cxx index 76680a9dc..cfce008c9 100755 --- a/src/SALOME_PY/SalomePy.cxx +++ b/src/SALOME_PY/SalomePy.cxx @@ -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); } }