Skip to content

Commit

Permalink
Fix build error with Slicer-4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Lasso authored and cpinter committed Jun 30, 2021
1 parent 6caf294 commit f8afc3e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions VirtualReality/Widgets/qMRMLVirtualRealityView.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@
#include <vtkMRMLDisplayableManagerGroup.h>
#include <vtkMRMLVirtualRealityViewDisplayableManagerFactory.h>

#if Slicer_VERSION_MAJOR >= 5 || Slicer_VERSION_MAJOR == 4 && Slicer_VERSION_MINOR >= 11
#include <vtkMRMLThreeDViewInteractorStyle.h>
#else
#include <vtkThreeDViewInteractorStyle.h>
#endif

#if Slicer_VERSION_MAJOR >= 5 || Slicer_VERSION_MAJOR == 4 && Slicer_VERSION_MINOR >= 11
#include <vtkMRMLThreeDViewInteractorStyle.h>
#else
Expand Down

0 comments on commit f8afc3e

Please sign in to comment.