From 7efd580a7064d0580378e13eff2ddb3480aba67d Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Mon, 13 Nov 2023 16:39:58 +0000 Subject: [PATCH] st/oxr: CTS fix: return XR_SUCCESS for no action sets synced --- src/xrt/state_trackers/oxr/oxr_api_action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/oxr/oxr_api_action.c b/src/xrt/state_trackers/oxr/oxr_api_action.c index 5eafe643e..43d8b3fa8 100644 --- a/src/xrt/state_trackers/oxr/oxr_api_action.c +++ b/src/xrt/state_trackers/oxr/oxr_api_action.c @@ -149,7 +149,8 @@ oxr_xrSyncActions(XrSession session, const XrActionsSyncInfo *syncInfo) } if (syncInfo->countActiveActionSets == 0) { - return oxr_error(&log, XR_ERROR_VALIDATION_FAILURE, "(syncInfo->countActiveActionSets == 0)"); + // nothing to do + return XR_SUCCESS; } for (uint32_t i = 0; i < syncInfo->countActiveActionSets; i++) {