summaryrefslogtreecommitdiffstats
path: root/modules/openxr/openxr_interface.cpp
diff options
context:
space:
mode:
authorSpartan322 <Megacake1234@gmail.com>2024-10-24 18:01:23 -0400
committerSpartan322 <Megacake1234@gmail.com>2024-10-24 18:01:23 -0400
commit3679f5971aa431d37cc2acd5d459ed4b38aad26f (patch)
treecee32a21c68b1d737fc0cbe52b2a0ff649016123 /modules/openxr/openxr_interface.cpp
parenta22fcac9dc8ecca406a3267849954a5a5373dd11 (diff)
parent1015a481ff43edb1126ab39a147fefda290131e5 (diff)
downloadredot-engine-3679f5971aa431d37cc2acd5d459ed4b38aad26f.tar.gz
Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5
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 e62f5955dc..53d3ef18b7 100644
--- a/modules/openxr/openxr_interface.cpp
+++ b/modules/openxr/openxr_interface.cpp
@@ -302,10 +302,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