File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
visualization/include/pcl/visualization/vtk Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 41
41
#include < vtkCocoaRenderWindowInteractor.h>
42
42
#include < vtkObjectFactory.h>
43
43
44
+ #if ((VTK_MAJOR_VERSION < 6) || ((VTK_MAJOR_VERSION == 6) && (VTK_MINOR_VERSION < 2)))
45
+
44
46
// ----------------------------------------------------------------------------
45
47
@interface vtkCocoaServerFix : NSObject
46
48
{
@@ -213,4 +215,10 @@ - (void)windowWillClose:(NSNotification*)aNotification
213
215
{
214
216
return (vtkCocoaRenderWindowInteractorFix::New ());
215
217
}
216
-
218
+ #else
219
+ // ----------------------------------------------------------------------------
220
+ vtkRenderWindowInteractor* vtkRenderWindowInteractorFixNew ()
221
+ {
222
+ return (vtkCocoaRenderWindowInteractor::New ());
223
+ }
224
+ #endif
You can’t perform that action at this time.
0 commit comments