From 8435ee32941041a10749c949f6a9e41a7664219e Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 24 Aug 2005 05:57:33 +0000 Subject: [PATCH] To ajust to the new SVTK interface --- src/SALOME_PY/SalomePy.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.2