summaryrefslogtreecommitdiffstats
path: root/modules/openxr/openxr_interface.cpp
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2024-10-14 15:29:40 +1100
committerBastiaan Olij <mux213@gmail.com>2024-10-22 10:31:11 +1100
commit3e36f52524b9ce65a50962aa62b52f4b8add64b3 (patch)
tree2bf5858a74e067fb97ac73215411f14951b94b1b /modules/openxr/openxr_interface.cpp
parent44fa552343722bb048e2d7c6d3661174a95a8a3c (diff)
downloadredot-engine-3e36f52524b9ce65a50962aa62b52f4b8add64b3.tar.gz
OpenXR: change bindings to 'flatten' source paths
Diffstat (limited to 'modules/openxr/openxr_interface.cpp')
-rw-r--r--modules/openxr/openxr_interface.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/openxr/openxr_interface.cpp b/modules/openxr/openxr_interface.cpp
index 73ac529537..500a58acc3 100644
--- a/modules/openxr/openxr_interface.cpp
+++ b/modules/openxr/openxr_interface.cpp
@@ -300,10 +300,7 @@ void OpenXRInterface::_load_action_map() {
continue;
}
- PackedStringArray paths = xr_binding->get_paths();
- for (int k = 0; k < paths.size(); k++) {
- openxr_api->interaction_profile_add_binding(ip, action->action_rid, paths[k]);
- }
+ openxr_api->interaction_profile_add_binding(ip, action->action_rid, xr_binding->get_binding_path());
}
// Now submit our suggestions