godot/modules/navigation
Josh Jones 0572346985
Fix typo and ensure backwards compatibility for changed property names
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>
2022-12-20 09:57:54 +01:00
..
editor Use forward-declarations in EditorPlugin where possible 2022-11-11 20:25:51 +01:00
config.py
godot_navigation_server.cpp Fix Navigation API abbreviations inconsistency 2022-12-17 22:06:22 +01:00
godot_navigation_server.h Fix Navigation API abbreviations inconsistency 2022-12-17 22:06:22 +01:00
nav_base.h Enable assigning an owner to navigation regions and links 2022-12-10 12:03:06 -08:00
nav_link.cpp
nav_link.h Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
nav_map.cpp Fix crash in navigation 3d when target is not reachable 2022-10-02 13:18:33 -06:00
nav_map.h
nav_region.cpp
nav_region.h
nav_rid.h
nav_utils.h
navigation_mesh_generator.cpp Fix typo and ensure backwards compatibility for changed property names 2022-12-20 09:57:54 +01:00
navigation_mesh_generator.h Fix Navigation API abbreviations inconsistency 2022-12-17 22:06:22 +01:00
register_types.cpp
register_types.h
rvo_agent.cpp
rvo_agent.h
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00