mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Improve warning when XR shaders are not enabled
This commit is contained in:
@@ -626,7 +626,7 @@ PackedStringArray XROrigin3D::get_configuration_warnings() const {
|
|||||||
|
|
||||||
bool xr_enabled = GLOBAL_GET("xr/shaders/enabled");
|
bool xr_enabled = GLOBAL_GET("xr/shaders/enabled");
|
||||||
if (!xr_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;
|
return warnings;
|
||||||
|
|||||||
Reference in New Issue
Block a user