From 372890f1d7e4d6fbfbeda4c1f163c54e0c586eba Mon Sep 17 00:00:00 2001 From: solosuper Date: Thu, 14 Apr 2016 11:57:49 +0200 Subject: [PATCH] fix #6315 --- modules/viz/src/vtk/vtkCocoaInteractorFix.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/viz/src/vtk/vtkCocoaInteractorFix.mm b/modules/viz/src/vtk/vtkCocoaInteractorFix.mm index 481baf9..ee72e38 100644 --- a/modules/viz/src/vtk/vtkCocoaInteractorFix.mm +++ b/modules/viz/src/vtk/vtkCocoaInteractorFix.mm @@ -160,7 +160,7 @@ //---------------------------------------------------------------------------- -#if VTK_MAJOR_VERSION >= 6 && VTK_MINOR_VERSION >=2 +#if VTK_MAJOR_VERSION >= 6 && VTK_MINOR_VERSION >=2 || VTK_MAJOR_VERSION >=7 namespace cv { namespace viz { -- 2.7.4