Update Node::get_configuration_warnings signature

This commit is contained in:
RedMser
2023-07-05 15:41:44 +02:00
parent bf37a9bac6
commit d3852deaa4
132 changed files with 217 additions and 213 deletions

View File

@ -79,8 +79,8 @@ void VisibleOnScreenNotifier3D::_notification(int p_what) {
}
}
PackedStringArray VisibleOnScreenNotifier3D::get_configuration_warnings() const {
PackedStringArray warnings = VisualInstance3D::get_configuration_warnings();
Array VisibleOnScreenNotifier3D::get_configuration_warnings() const {
Array warnings = VisualInstance3D::get_configuration_warnings();
if (OS::get_singleton()->get_current_rendering_method() == "gl_compatibility") {
warnings.push_back(RTR("VisibleOnScreenNotifier3D nodes are not supported when using the GL Compatibility backend yet. Support will be added in a future release."));