summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-29 12:29:32 +0200
committerGitHub <noreply@github.com>2022-07-29 12:29:32 +0200
commit8b454f8b418a0b36a9f121ca9a8cf51c4ab53e41 (patch)
treeb1369dde6b9a148250d0f8b7a872f1252fb349f7 /main/main.cpp
parent3f2be350d6daa70f61ab1a50842f48a1d4654c7b (diff)
parentc394ea518e48bbce710b251cf20be078505ef8d7 (diff)
Merge pull request #62601 from smix8/navigation_3d_debug_4.x
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index a9037806bf..42a866317e 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2430,6 +2430,8 @@ bool Main::start() {
}
if (debug_navigation) {
sml->set_debug_navigation_hint(true);
+ NavigationServer3D::get_singleton()->set_active(true);
+ NavigationServer3D::get_singleton_mut()->set_debug_enabled(true);
}
#endif