summaryrefslogtreecommitdiffstats
path: root/scene/3d/xr_nodes.cpp
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2024-03-11 14:17:37 -0700
committerclayjohn <claynjohn@gmail.com>2024-03-11 14:17:37 -0700
commitd8f2768b90b7b11340cb297dfaaea51f7e75f95f (patch)
treee1051ac6dd32976654b3f633417448461d78a93c /scene/3d/xr_nodes.cpp
parentf040a351c2f27c6b86c40c71a28babf99dd0b9bd (diff)
downloadredot-engine-d8f2768b90b7b11340cb297dfaaea51f7e75f95f.tar.gz
Improve warning when XR shaders are not enabled
Diffstat (limited to 'scene/3d/xr_nodes.cpp')
-rw-r--r--scene/3d/xr_nodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/xr_nodes.cpp b/scene/3d/xr_nodes.cpp
index dfb9042a2e..12a9f50ed7 100644
--- a/scene/3d/xr_nodes.cpp
+++ b/scene/3d/xr_nodes.cpp
@@ -626,7 +626,7 @@ PackedStringArray XROrigin3D::get_configuration_warnings() const {
bool xr_enabled = GLOBAL_GET("xr/shaders/enabled");
if (!xr_enabled) {
- warnings.push_back(RTR("XR is not enabled in rendering project settings. Stereoscopic output is not supported unless this is enabled."));
+ warnings.push_back(RTR("XR shaders are not enabled in project settings. Stereoscopic output is not supported unless they are enabled. Please enable `xr/shaders/enabled` to use stereoscopic output."));
}
return warnings;