Bake the NavigationMesh on the main thread in the editor.

This commit is contained in:
Relintai 2023-09-03 10:59:33 +02:00
parent 0fb000c6a1
commit 915014b6df

View File

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