mirror of https://github.com/godotengine/godot
Changes to the name of the `navmesh` and `navpoly` properties on `NavigationRegion` caused navigation data to be lost on load. This PR creates uses `_set`/`_get` to handle compatibility with the older names on load, preserving the data. Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`, and renames the property to remove the `polygon_` prefix which doesn't match the setter/getter. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> |
||
|---|---|---|
| .. | ||
| editor | ||
| SCsub | ||
| config.py | ||
| godot_navigation_server.cpp | ||
| godot_navigation_server.h | ||
| nav_base.h | ||
| nav_link.cpp | ||
| nav_link.h | ||
| nav_map.cpp | ||
| nav_map.h | ||
| nav_region.cpp | ||
| nav_region.h | ||
| nav_rid.h | ||
| nav_utils.h | ||
| navigation_mesh_generator.cpp | ||
| navigation_mesh_generator.h | ||
| register_types.cpp | ||
| register_types.h | ||
| rvo_agent.cpp | ||
| rvo_agent.h | ||