diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-03-17 10:24:47 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-04-04 18:43:29 +1000 |
commit | 9b7b9de0e5e8bfe49ad9e02474eb9ddd5d7dacd5 (patch) | |
tree | 1b97984c4874521c4551c5d76ba03ef05b46abb3 /main | |
parent | 7bb963efe9083662baa356f56a2d5c368b96a9a0 (diff) |
Add action map editor for OpenXR
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp index 89b56a814e..b730f65286 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1489,8 +1489,8 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph GLOBAL_DEF("input_devices/pointing/ios/touch_delay", 0.150); // XR project settings. - GLOBAL_DEF_BASIC("xr/openxr/enabled", false); - GLOBAL_DEF_BASIC("xr/openxr/default_action_map", "res://default_action_map.tres"); + GLOBAL_DEF_RST_BASIC("xr/openxr/enabled", false); + GLOBAL_DEF_BASIC("xr/openxr/default_action_map", "res://openxr_action_map.tres"); ProjectSettings::get_singleton()->set_custom_property_info("xr/openxr/default_action_map", PropertyInfo(Variant::STRING, "xr/openxr/default_action_map", PROPERTY_HINT_FILE, "*.tres")); GLOBAL_DEF_BASIC("xr/openxr/form_factor", "0"); |