mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add function to get navigation region iteration id from NavigationServer
Adds function to get navigation region iteration id from NavigationServer.
This commit is contained in:
parent
e5ccaa79e2
commit
2b8531d944
16 changed files with 54 additions and 0 deletions
|
|
@ -194,6 +194,10 @@ bool NavRegion3D::sync() {
|
|||
|
||||
update_polygons();
|
||||
|
||||
if (something_changed) {
|
||||
iteration_id = iteration_id % UINT32_MAX + 1;
|
||||
}
|
||||
|
||||
return something_changed;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue