Update Node::get_configuration_warnings signature
This commit is contained in:
parent
bf37a9bac6
commit
d3852deaa4
132 changed files with 217 additions and 213 deletions
|
|
@ -200,8 +200,8 @@ void RemoteTransform2D::force_update_cache() {
|
|||
_update_cache();
|
||||
}
|
||||
|
||||
PackedStringArray RemoteTransform2D::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = Node::get_configuration_warnings();
|
||||
Array RemoteTransform2D::get_configuration_warnings() const {
|
||||
Array warnings = Node::get_configuration_warnings();
|
||||
|
||||
if (!has_node(remote_node) || !Object::cast_to<Node2D>(get_node(remote_node))) {
|
||||
warnings.push_back(RTR("Path property must point to a valid Node2D node to work."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue