]> Creatis software - clitk.git/commitdiff
Ensure compatibility with VTK < v5.10
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 10 Mar 2016 16:41:03 +0000 (17:41 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 10 Mar 2016 16:41:03 +0000 (17:41 +0100)
vv/vvSlicer.cxx

index 95296af03f26e4a7e9c16a88f84742d75a94f6d5..ec8259059a6b13afd877f50347bc1c841c5c2ec1 100644 (file)
@@ -75,8 +75,8 @@
 #include <vtkAssignAttribute.h>
 #include <vtkImageAccumulate.h>
 #include <vtkImageReslice.h>
-#include <vtkOpenGLImageSliceMapper.h>
 #if VTK_MAJOR_VERSION >= 6 || (VTK_MAJOR_VERSION >= 5 && VTK_MINOR_VERSION >= 10)
+#  include <vtkOpenGLImageSliceMapper.h>
 #  include <vtkImageMapper3D.h>
 #  include <vtkImageSliceMapper.h>
 #endif