You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +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:
@@ -423,12 +423,12 @@ PackedStringArray GPUParticles3D::get_configuration_warnings() const {
|
||||
warnings.push_back(RTR("Trails enabled, but one or more mesh materials are either missing or not set for trails rendering."));
|
||||
}
|
||||
if (OS::get_singleton()->get_current_rendering_method() == "gl_compatibility" || OS::get_singleton()->get_current_rendering_method() == "dummy") {
|
||||
warnings.push_back(RTR("Particle trails are only available when using the Forward+ or Mobile renderers."));
|
||||
warnings.push_back(RTR("Particle trails are only available when using the Forward+ or Mobile renderer."));
|
||||
}
|
||||
}
|
||||
|
||||
if (sub_emitter != NodePath() && (OS::get_singleton()->get_current_rendering_method() == "gl_compatibility" || OS::get_singleton()->get_current_rendering_method() == "dummy")) {
|
||||
warnings.push_back(RTR("Particle sub-emitters are only available when using the Forward+ or Mobile renderers."));
|
||||
warnings.push_back(RTR("Particle sub-emitters are only available when using the Forward+ or Mobile renderer."));
|
||||
}
|
||||
|
||||
return warnings;
|
||||
|
||||
Reference in New Issue
Block a user