diff options
-rw-r--r-- | intern/ghost/intern/GHOST_XrSession.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/intern/ghost/intern/GHOST_XrSession.cpp b/intern/ghost/intern/GHOST_XrSession.cpp index 8b0320ef358..a08b2d6045a 100644 --- a/intern/ghost/intern/GHOST_XrSession.cpp +++ b/intern/ghost/intern/GHOST_XrSession.cpp @@ -148,13 +148,12 @@ static void create_reference_spaces(OpenXRSessionData &oxr, const GHOST_XrPose & if (XR_FAILED(result)) { /* One of the rare cases where we don't want to immediately throw an exception on failure, - * since run-times are not required to support the stage reference space. Although we need the - * stage reference space for absolute tracking, if the runtime doesn't support it then just - * fallback to the local space. */ + * since runtimes are not required to support the stage reference space. If the runtime + * doesn't support it then just fall back to the local space. */ if (result == XR_ERROR_REFERENCE_SPACE_UNSUPPORTED) { printf( - "Warning: XR runtime does not support stage reference space, disabling absolute " - "tracking.\n"); + "Warning: XR runtime does not support stage reference space, falling back to local " + "reference space.\n"); create_info.referenceSpaceType = XR_REFERENCE_SPACE_TYPE_LOCAL; CHECK_XR(xrCreateReferenceSpace(oxr.session, &create_info, &oxr.reference_space), @@ -172,8 +171,9 @@ static void create_reference_spaces(OpenXRSessionData &oxr, const GHOST_XrPose & "Failed to get stage reference space bounds."); if (extents.width == 0.0f || extents.height == 0.0f) { printf( - "Warning: Invalid stage reference space bounds, disabling absolute tracking. To enable " - "absolute tracking, please define a tracking space via the XR runtime.\n"); + "Warning: Invalid stage reference space bounds, falling back to local reference space. " + "To use the stage reference space, please define a tracking space via the XR " + "runtime.\n"); /* Fallback to local space. */ if (oxr.reference_space != XR_NULL_HANDLE) { |