File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ NavMeshGenerator2D::NavMeshGenerator2D() {
7272
7373 // Using threads might cause problems on certain exports or with the Editor on certain devices.
7474 // This is the main switch to turn threaded navmesh baking off should the need arise.
75- use_threads = baking_use_multiple_threads && ! Engine::get_singleton ()-> is_editor_hint () ;
75+ use_threads = baking_use_multiple_threads;
7676}
7777
7878NavMeshGenerator2D::~NavMeshGenerator2D () {
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ NavMeshGenerator3D::NavMeshGenerator3D() {
8585
8686 // Using threads might cause problems on certain exports or with the Editor on certain devices.
8787 // This is the main switch to turn threaded navmesh baking off should the need arise.
88- use_threads = baking_use_multiple_threads && ! Engine::get_singleton ()-> is_editor_hint () ;
88+ use_threads = baking_use_multiple_threads;
8989}
9090
9191NavMeshGenerator3D::~NavMeshGenerator3D () {
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ void NavigationMeshEditor::_bake_pressed() {
9999 }
100100 }
101101
102- node->bake_navigation_mesh (false );
102+ node->bake_navigation_mesh (true );
103103
104104 node->update_gizmos ();
105105}
You can’t perform that action at this time.
0 commit comments