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
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
config.py Rename `GdNavigationServer` to `GodotNavigationServer` 2021-06-30 00:35:18 +02:00
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 Added node for Navigation links 2022-08-26 22:05:15 -07:00
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 Added node for Navigation links 2022-08-26 22:05:15 -07:00
nav_region.cpp Added node for Navigation links 2022-08-26 22:05:15 -07:00
nav_region.h Added node for Navigation links 2022-08-26 22:05:15 -07:00
nav_rid.h Style: Remove inconsistently used `@author` docstrings 2022-01-04 20:42:50 +01:00
nav_utils.h Added node for Navigation links 2022-08-26 22:05:15 -07:00
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 Refactor module initialization 2022-05-04 17:34:51 +02:00
register_types.h Refactor module initialization 2022-05-04 17:34:51 +02:00
rvo_agent.cpp Fix crash of navigation agents callback when object is invalid 2022-06-14 13:04:02 +02:00
rvo_agent.h Style: Remove inconsistently used `@author` docstrings 2022-01-04 20:42:50 +01:00