From 209a8c074e9be0db8dcbce18bcbe1c5ac5ea988e Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 30 Apr 2013 03:54:21 +0000 Subject: [PATCH] Fix bug of ParaView 3.98 porting - use proper Python module --- src/SALOME_PY/SalomePy.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.2