summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorChris Hutchinson <chutchinson@dynics.com>2023-02-11 23:10:50 -0500
committerChris Hutchinson <chris.s.hutchinson@gmail.com>2023-02-13 18:42:43 -0500
commitcb8e91924399948888d80d20c6112df473897183 (patch)
tree169d3d05a3e49e0b6f557915b64b761661c4ce40 /main
parent9f6bb7dd50efd385fda6bc5eeb7dcac1857c48ad (diff)
downloadredot-engine-cb8e91924399948888d80d20c6112df473897183.tar.gz
Replaced operating system alert dialog with a warning log message,
toggled by a project setting. Fixes #73141
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 3aa9a44a21..c18c33542a 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1829,6 +1829,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.