From: vsr Date: Tue, 30 Apr 2013 03:54:21 +0000 (+0000) Subject: Fix bug of ParaView 3.98 porting - use proper Python module X-Git-Tag: V7_2_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=209a8c074e9be0db8dcbce18bcbe1c5ac5ea988e;p=modules%2Fgui.git Fix bug of ParaView 3.98 porting - use proper Python module --- diff --git a/src/SALOME_PY/SalomePy.cxx b/src/SALOME_PY/SalomePy.cxx index 834a176b1..c7ec622c7 100755 --- a/src/SALOME_PY/SalomePy.cxx +++ b/src/SALOME_PY/SalomePy.cxx @@ -111,8 +111,10 @@ static PyObject* GetPyClass( const char* theClassName ) aVTKModule = PyImport_ImportModule( "libVTKGraphicsPython" ); #elif VTK_XVERSION < 50700 aVTKModule = PyImport_ImportModule( "vtk.libvtkRenderingPython" ); -#else +#elif VTK_XVERSION < 60000 aVTKModule = PyImport_ImportModule( "vtkRenderingPython" ); +#else + aVTKModule = PyImport_ImportModule( "vtkRenderingCorePython" ); #endif if( PyErr_Occurred() ) { PyErr_Print();