Change navigation map synchronization to an async process

Changes the navigation map synchronization to an async process to avoid stalling the main thread.
This commit is contained in:
smix8
2024-12-15 20:31:13 +01:00
parent 0454122b3c
commit d51615b334
29 changed files with 1274 additions and 489 deletions

View File

@@ -60,6 +60,8 @@ public:
void map_force_update(RID p_map) override {}
Vector2 map_get_random_point(RID p_map, uint32_t p_naviation_layers, bool p_uniformly) const override { return Vector2(); }
uint32_t map_get_iteration_id(RID p_map) const override { return 0; }
void map_set_use_async_iterations(RID p_map, bool p_enabled) override {}
bool map_get_use_async_iterations(RID p_map) const override { return false; }
RID region_create() override { return RID(); }
void region_set_enabled(RID p_region, bool p_enabled) override {}