From 915014b6df72abfb670f7ca0cac5f9e3c9f884e9 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 3 Sep 2023 10:59:33 +0200 Subject: [PATCH] Bake the NavigationMesh on the main thread in the editor. --- .../editor/navigation_mesh_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/navigation_mesh_generator/editor/navigation_mesh_editor_plugin.cpp b/modules/navigation_mesh_generator/editor/navigation_mesh_editor_plugin.cpp index 6436d8455..6af6871f3 100644 --- a/modules/navigation_mesh_generator/editor/navigation_mesh_editor_plugin.cpp +++ b/modules/navigation_mesh_generator/editor/navigation_mesh_editor_plugin.cpp @@ -100,7 +100,7 @@ void NavigationMeshEditor::_bake_pressed() { } } - node->bake_navigation_mesh(true); + node->bake_navigation_mesh(false); node->update_gizmos(); }