Skip to content

Commit

Permalink
Improve warning when XR shaders are not enabled
Browse files Browse the repository at this point in the history
(cherry picked from commit d8f2768)
  • Loading branch information
clayjohn authored and akien-mga committed Mar 12, 2024
1 parent 6980cb0 commit fa1b680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/3d/xr_nodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,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;
Expand Down

0 comments on commit fa1b680

Please sign in to comment.