mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 11:44:21 +00:00
Update Node::get_configuration_warnings signature
This commit is contained in:
parent
bf37a9bac6
commit
d3852deaa4
132 changed files with 217 additions and 213 deletions
|
|
@ -137,8 +137,8 @@ void ParallaxLayer::set_base_offset_and_scale(const Point2 &p_offset, real_t p_s
|
|||
_update_mirroring();
|
||||
}
|
||||
|
||||
PackedStringArray ParallaxLayer::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = Node::get_configuration_warnings();
|
||||
Array ParallaxLayer::get_configuration_warnings() const {
|
||||
Array 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."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue