summaryrefslogtreecommitdiffstats
path: root/scene/3d/navigation_link_3d.cpp
diff options
context:
space:
mode:
authorRedMser <redmser.jj2@gmail.com>2023-07-05 15:41:44 +0200
committerRedMser <redmser.jj2@gmail.com>2024-02-08 23:05:20 +0100
commitd3852deaa450d77edb30df2bb1c77bd7bc45befc (patch)
treee25fb2b4795f3ffec816349a7080ef95f3406a24 /scene/3d/navigation_link_3d.cpp
parentbf37a9bac6ebfb09c0a374260c35ede8373ce427 (diff)
downloadredot-engine-d3852deaa450d77edb30df2bb1c77bd7bc45befc.tar.gz
Update Node::get_configuration_warnings signature
Diffstat (limited to 'scene/3d/navigation_link_3d.cpp')
-rw-r--r--scene/3d/navigation_link_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/navigation_link_3d.cpp b/scene/3d/navigation_link_3d.cpp
index dc776ebea2..c535393273 100644
--- a/scene/3d/navigation_link_3d.cpp
+++ b/scene/3d/navigation_link_3d.cpp
@@ -458,8 +458,8 @@ void NavigationLink3D::set_travel_cost(real_t p_travel_cost) {
NavigationServer3D::get_singleton()->link_set_travel_cost(link, travel_cost);
}
-PackedStringArray NavigationLink3D::get_configuration_warnings() const {
- PackedStringArray warnings = Node::get_configuration_warnings();
+Array NavigationLink3D::get_configuration_warnings() const {
+ Array warnings = Node::get_configuration_warnings();
if (start_position.is_equal_approx(end_position)) {
warnings.push_back(RTR("NavigationLink3D start position should be different than the end position to be useful."));