Revert "Update Node::get_configuration_warnings signature"

This reverts commit d3852deaa4.
This commit is contained in:
Rémi Verschelde
2024-02-17 19:03:21 +01:00
parent 9f76398781
commit 21f0529aa9
132 changed files with 213 additions and 217 deletions

View File

@ -137,8 +137,8 @@ void ParallaxLayer::set_base_offset_and_scale(const Point2 &p_offset, real_t p_s
_update_mirroring();
}
Array ParallaxLayer::get_configuration_warnings() const {
Array warnings = Node::get_configuration_warnings();
PackedStringArray ParallaxLayer::get_configuration_warnings() const {
PackedStringArray warnings = Node::get_configuration_warnings();
if (!Object::cast_to<ParallaxBackground>(get_parent())) {
warnings.push_back(RTR("ParallaxLayer node only works when set as child of a ParallaxBackground node."));