mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Make all unsupported renderer message features consistently warnings
Previously, some messages indicating a lack of support were errors instead of warnings. Some messages were also not shown when running a release export template. - Use "renderer" terminology consistently instead of "rendering method".
This commit is contained in:
@@ -522,11 +522,11 @@ PackedStringArray GeometryInstance3D::get_configuration_warnings() const {
|
||||
}
|
||||
|
||||
if (!Math::is_zero_approx(transparency) && OS::get_singleton()->get_current_rendering_method() != "forward_plus") {
|
||||
warnings.push_back(RTR("GeometryInstance3D transparency is only available when using the Forward+ rendering method."));
|
||||
warnings.push_back(RTR("GeometryInstance3D transparency is only available when using the Forward+ renderer."));
|
||||
}
|
||||
|
||||
if ((visibility_range_fade_mode == VISIBILITY_RANGE_FADE_SELF || visibility_range_fade_mode == VISIBILITY_RANGE_FADE_DEPENDENCIES) && OS::get_singleton()->get_current_rendering_method() != "forward_plus") {
|
||||
warnings.push_back(RTR("GeometryInstance3D visibility range transparency fade is only available when using the Forward+ rendering method."));
|
||||
warnings.push_back(RTR("GeometryInstance3D visibility range transparency fade is only available when using the Forward+ renderer."));
|
||||
}
|
||||
|
||||
return warnings;
|
||||
|
||||
Reference in New Issue
Block a user