Skip to content

Commit

Permalink
BUG: Fix issue on Oculus that throws error constantly when used
Browse files Browse the repository at this point in the history
  • Loading branch information
aWilson41 authored and jcfr committed Oct 13, 2022
1 parent bb214d6 commit 3106905
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions VirtualReality/MRML/vtkVirtualRealityViewInteractorStyle.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ bool vtkVirtualRealityViewInteractorStyle::DelegateInteractionEventToDisplayable
{
interactionContextName = "RightController"; //TODO: Store these elsewhere
}
else if (ed->GetDevice() == vtkEventDataDevice::HeadMountedDisplay)
{
interactionContextName = "HeadMountedDisplay";
}
else
{
vtkErrorMacro("DelegateInteractionEventToDisplayableManagers: Unrecognized device");
Expand Down

0 comments on commit 3106905

Please sign in to comment.