Skip to content

Commit

Permalink
Merge pull request #78817 from BastiaanOlij/fix_startup_issue_hand_tr…
Browse files Browse the repository at this point in the history
…acking

Fix issue with accessing hand tracking without timing info
  • Loading branch information
YuriSizov authored Jul 17, 2023
2 parents 851bc64 + 72bd997 commit 5278418
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/openxr/extensions/openxr_hand_tracking_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ void OpenXRHandTrackingExtension::on_process() {

// process our hands
const XrTime time = OpenXRAPI::get_singleton()->get_next_frame_time(); // This data will be used for the next frame we render
if (time == 0) {
// we don't have timing info yet, or we're skipping a frame...
return;
}

XrResult result;

Expand Down

0 comments on commit 5278418

Please sign in to comment.