]> Creatis software - clitk.git/commitdiff
Fixed VTK version test
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 2 Jul 2012 13:01:25 +0000 (15:01 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 2 Jul 2012 13:02:01 +0000 (15:02 +0200)
vv/vvBlendImageActor.h

index bb2e0667bc25618a7cd222e2288363f62b1d95a1..a0e954915927355831c715212654b0b598e64833 100644 (file)
@@ -22,7 +22,7 @@
 #include <vtkActor.h>
 #include <vtkSmartPointer.h>
 
-#if VTK_MAJOR_VERSION >= 5 && VTK_MINOR_VERSION >= 10
+#if VTK_MAJOR_VERSION >= 6 || (VTK_MAJOR_VERSION >= 5 && VTK_MINOR_VERSION >= 10)
 #define VTK_IMAGE_ACTOR vtkImageActor
 #include <vtkImageActor.h>
 #else