Use threads for baking navigation mesh inside editor

Enables threaded navigation mesh baking inside the editor.
This commit is contained in:
smix8 2024-04-11 03:53:26 +02:00
parent 83b916bb00
commit 2bc2b52bd1
3 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,7 @@ void NavigationMeshEditor::_bake_pressed() {
}
}
node->bake_navigation_mesh(false);
node->bake_navigation_mesh(true);
node->update_gizmos();
}