summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2021-06-14 17:34:30 +0300
committerGitHub <noreply@github.com>2021-06-14 17:34:30 +0300
commit551fb1c749f92d8797b11ac00477906af91e35ed (patch)
tree3a68b5934f5092ef5747ee6570f1994cc39e0568 /scene/3d
parent12e0f10c74e9619262f1edcfdc1840432ada0565 (diff)
parent3eae812331e9584e61fd7cbe96a86541df9b94aa (diff)
Merge pull request #49581 from BastiaanOlij/check_disabled_multiview
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/xr_nodes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/3d/xr_nodes.cpp b/scene/3d/xr_nodes.cpp
index 5a4d9b5d7e..4f2c816934 100644
--- a/scene/3d/xr_nodes.cpp
+++ b/scene/3d/xr_nodes.cpp
@@ -520,9 +520,9 @@ TypedArray<String> XROrigin3D::get_configuration_warnings() const {
}
}
- bool vr_enabled = GLOBAL_GET("rendering/vr/enabled");
- if (!vr_enabled) {
- warnings.push_back(TTR("VR is not enabled in rendering project settings. Stereoscopic output is not supported unless this is enabled."));
+ bool xr_enabled = GLOBAL_GET("rendering/xr/enabled");
+ if (!xr_enabled) {
+ warnings.push_back(TTR("XR is not enabled in rendering project settings. Stereoscopic output is not supported unless this is enabled."));
}
return warnings;