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

@ -67,6 +67,8 @@ public:
TypedArray<RID> map_get_obstacles(RID p_map) const override { return TypedArray<RID>(); }
void map_force_update(RID p_map) override {}
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 {}