summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorChris Hutchinson <chutchinson@dynics.com>2023-02-11 23:10:50 -0500
committerYuri Sizov <yuris@humnom.net>2023-03-30 19:28:57 +0200
commit4323c8b78ba03c8fef6dfc580c1aa1010ed3096d (patch)
tree1b8f65ae0f2cd380641097ffbb82333bb8638da9 /main
parent1e948814845864ca5796d5ebddb985f509a33c8c (diff)
Replaced operating system alert dialog with a warning log message,
toggled by a project setting. Fixes #73141 (cherry picked from commit cb8e91924399948888d80d20c6112df473897183)
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 4ff83527e1..fbd0b75e58 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1859,6 +1859,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
GLOBAL_DEF_BASIC(PropertyInfo(Variant::INT, "xr/openxr/reference_space", PROPERTY_HINT_ENUM, "Local,Stage"), "1");
GLOBAL_DEF_BASIC("xr/openxr/submit_depth_buffer", false);
+ GLOBAL_DEF_BASIC("xr/openxr/startup_alert", true);
#ifdef TOOLS_ENABLED
// Disabled for now, using XR inside of the editor we'll be working on during the coming months.