From: apo Date: Tue, 23 Aug 2005 08:34:37 +0000 (+0000) Subject: Porting to new SVTK interface X-Git-Tag: BR-D5-38-2003_D2005-12-09~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb8ed9d30d2439deec75253e5f694e0a052e2823;p=modules%2Fgui.git Porting to new SVTK interface --- diff --git a/src/SALOME_PY/SalomePy.cxx b/src/SALOME_PY/SalomePy.cxx index 1013f34cc..76680a9dc 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(); + vtkRenderWindowInteractor* aVTKObject = aVTKViewWindow->getRWInteractor()->getInteractor(); myResult = PyVTKObject_New(aPyClass,aVTKObject); } }