Update Node::get_configuration_warnings signature
This commit is contained in:
parent
bf37a9bac6
commit
d3852deaa4
132 changed files with 217 additions and 213 deletions
|
|
@ -1528,8 +1528,8 @@ Ref<CameraAttributes> LightmapGI::get_camera_attributes() const {
|
|||
return camera_attributes;
|
||||
}
|
||||
|
||||
PackedStringArray LightmapGI::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = Node::get_configuration_warnings();
|
||||
Array LightmapGI::get_configuration_warnings() const {
|
||||
Array warnings = Node::get_configuration_warnings();
|
||||
|
||||
if (OS::get_singleton()->get_current_rendering_method() == "gl_compatibility") {
|
||||
warnings.push_back(RTR("Lightmap can only be baked from a device that supports the RD backends. Lightmap baking may fail."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue