From: vsv Date: Tue, 16 Nov 2010 13:38:05 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fb81add0ff497a6bc35a1714ee8bf0c194435553;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/SALOME_PY/SalomePy.cxx b/src/SALOME_PY/SalomePy.cxx index 5fbdab8b2..981902e00 100755 --- a/src/SALOME_PY/SalomePy.cxx +++ b/src/SALOME_PY/SalomePy.cxx @@ -206,7 +206,7 @@ public: ::GetVTKViewWindow( myCreate ? __Create : __FindOrCreate ); if( aVTKViewWindow && aPyClass ) { vtkRenderer* aVTKObject = aVTKViewWindow->getRenderer(); - myResult = PyVTKObject_New( aPyClass, aVTKObject ); + myResult = PyVTKObject_New( aPyClass, NULL, aVTKObject ); } } }; @@ -255,7 +255,7 @@ public: ::GetVTKViewWindow( myCreate ? __Create : __FindOrCreate ); if( aVTKViewWindow && aPyClass ) { vtkRenderWindow* aVTKObject = aVTKViewWindow->getRenderWindow(); - myResult = PyVTKObject_New( aPyClass, aVTKObject ); + myResult = PyVTKObject_New( aPyClass, NULL, aVTKObject ); } } }; @@ -304,7 +304,7 @@ public: ::GetVTKViewWindow( myCreate ? __Create : __FindOrCreate ); if( aVTKViewWindow && aPyClass ) { vtkRenderWindowInteractor* aVTKObject = aVTKViewWindow->getInteractor(); - myResult = PyVTKObject_New( aPyClass, aVTKObject ); + myResult = PyVTKObject_New( aPyClass, NULL, aVTKObject ); } } };