diff options
author | Josh Jones <kilauea.jones@gmail.com> | 2022-12-17 20:07:10 -0800 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-20 09:57:54 +0100 |
commit | 0572346985eef45123a0f25cbd7c295e06bd9097 (patch) | |
tree | bb053e7eed7479507721b8d85c845ed44666808c /doc/class.xsd | |
parent | 0bb94df247a0a0c22333e2e99744fc3fd184601a (diff) |
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>
Diffstat (limited to 'doc/class.xsd')
0 files changed, 0 insertions, 0 deletions