diff options
author | Bastiaan Olij <mux213@gmail.com> | 2024-10-14 15:29:40 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2024-10-22 10:31:11 +1100 |
commit | 3e36f52524b9ce65a50962aa62b52f4b8add64b3 (patch) | |
tree | 2bf5858a74e067fb97ac73215411f14951b94b1b /modules/openxr/openxr_interface.cpp | |
parent | 44fa552343722bb048e2d7c6d3661174a95a8a3c (diff) | |
download | redot-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.cpp | 5 |
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 |