1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00: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:
Hugo Locurcio
2025-10-19 00:19:40 +02:00
parent f5918a9d35
commit 2cf7af9149
12 changed files with 47 additions and 31 deletions

View File

@@ -3239,11 +3239,11 @@ void Node3DEditorViewport::_notification(int p_what) {
break;
case SupportedRenderingMethods::FORWARD_PLUS_MOBILE:
disabled = OS::get_singleton()->get_current_rendering_method() == "gl_compatibility";
disabled_tooltip = TTR("This debug draw mode is not supported when using the Compatibility rendering method.");
disabled_tooltip = TTR("This debug draw mode is only supported when using the Forward+ or Mobile renderer.");
break;
case SupportedRenderingMethods::FORWARD_PLUS:
disabled = OS::get_singleton()->get_current_rendering_method() == "gl_compatibility" || OS::get_singleton()->get_current_rendering_method() == "mobile";
disabled_tooltip = TTR("This debug draw mode is not supported when using the Mobile or Compatibility rendering methods.");
disabled_tooltip = TTR("This debug draw mode is only supported when using the Forward+ renderer.");
break;
}