summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-02 00:19:33 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-02 00:19:33 +0200
commitc6fd311da0d0052bb11237662ec528f9fab1b7dd (patch)
tree3a1d4ab9e177ac9c3abae95aa5429dce27410c8f /scene
parentd63c6fc46351532d02a283d041fd98ad9278022f (diff)
Fix build after merge of #63479
Diffstat (limited to 'scene')
-rw-r--r--scene/2d/navigation_link_2d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/2d/navigation_link_2d.cpp b/scene/2d/navigation_link_2d.cpp
index d1aeea3efa..38a03aaf97 100644
--- a/scene/2d/navigation_link_2d.cpp
+++ b/scene/2d/navigation_link_2d.cpp
@@ -148,7 +148,7 @@ void NavigationLink2D::set_enabled(bool p_enabled) {
#ifdef DEBUG_ENABLED
if (Engine::get_singleton()->is_editor_hint() || NavigationServer2D::get_singleton()->get_debug_enabled()) {
- update();
+ queue_redraw();
}
#endif // DEBUG_ENABLED
}
@@ -213,7 +213,7 @@ void NavigationLink2D::set_start_location(Vector2 p_location) {
#ifdef DEBUG_ENABLED
if (Engine::get_singleton()->is_editor_hint() || NavigationServer2D::get_singleton()->get_debug_enabled()) {
- update();
+ queue_redraw();
}
#endif // DEBUG_ENABLED
}
@@ -236,7 +236,7 @@ void NavigationLink2D::set_end_location(Vector2 p_location) {
#ifdef DEBUG_ENABLED
if (Engine::get_singleton()->is_editor_hint() || NavigationServer2D::get_singleton()->get_debug_enabled()) {
- update();
+ queue_redraw();
}
#endif // DEBUG_ENABLED
}