Fix build after merge of #63479

This commit is contained in:
Rémi Verschelde 2022-09-02 00:19:33 +02:00
parent d63c6fc463
commit c6fd311da0

View file

@ -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
}