Commit d5d208b4 authored by Lachlan Ford's avatar Lachlan Ford Committed by Commit Bot

Pointing ray no longer assumed to be static

In OpenXR, the aim ray is not static. Thus it must be recomputed regularly
in order to support devices with dynamic aim ray poses.

This change removes the check that prevented the recomputation of the aim
ray pose.

Change-Id: I4c3fdf423387a784ce92c8658e8462dd3e598592
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308947Reviewed-by: default avatarRafael Cintron <rafael.cintron@microsoft.com>
Reviewed-by: default avatarAlexander Cooper <alcooper@chromium.org>
Commit-Queue: Lachlan Ford <laford@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#790461}
parent 49956730
......@@ -236,10 +236,8 @@ mojom::XRInputSourceDescriptionPtr OpenXrController::GetDescription(
path_helper_->GetInputProfiles(interaction_profile_);
}
if (!description_->input_from_pointer) {
description_->input_from_pointer =
GetPointerFromGripTransform(predicted_display_time);
}
description_->input_from_pointer =
GetPointerFromGripTransform(predicted_display_time);
return description_.Clone();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment