mirror of
https://github.com/godotengine/godot.git
synced 2026-01-01 05:49:28 +03:00
Base accessibility API.
This commit is contained in:
@@ -179,7 +179,7 @@ void Decal::_validate_property(PropertyInfo &p_property) const {
|
||||
PackedStringArray Decal::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = VisualInstance3D::get_configuration_warnings();
|
||||
|
||||
if (OS::get_singleton()->get_current_rendering_method() == "gl_compatibility") {
|
||||
if (OS::get_singleton()->get_current_rendering_method() == "gl_compatibility" || OS::get_singleton()->get_current_rendering_method() == "dummy") {
|
||||
warnings.push_back(RTR("Decals are only available when using the Forward+ or Mobile renderers."));
|
||||
return warnings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user