diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-20 10:32:26 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-20 10:32:26 +0100 |
commit | f1f6b35b8c840eff55fe5f2b6373f89a6c410fcb (patch) | |
tree | 841a94f1bc76fa75c2d235c9540cfb19f6e05fed /scene/resources/navigation_mesh.h | |
parent | 63af5a4cdd2dee691612a6e763bd1b1dba0af5ed (diff) | |
parent | 0572346985eef45123a0f25cbd7c295e06bd9097 (diff) |
Merge pull request #70244 from DarkKilauea/nav-fix-abbrev-compat
[4.x] Fix typo and ensure backwards compatibility for changed property names
Diffstat (limited to 'scene/resources/navigation_mesh.h')
-rw-r--r-- | scene/resources/navigation_mesh.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/navigation_mesh.h b/scene/resources/navigation_mesh.h index 93880603eb..3d072423db 100644 --- a/scene/resources/navigation_mesh.h +++ b/scene/resources/navigation_mesh.h @@ -101,7 +101,7 @@ protected: float region_merge_size = 20.0f; float edge_max_length = 12.0f; float edge_max_error = 1.3f; - float vertices_per_polyon = 6.0f; + float vertices_per_polygon = 6.0f; float detail_sample_distance = 6.0f; float detail_sample_max_error = 1.0f; @@ -168,8 +168,8 @@ public: void set_edge_max_error(float p_value); float get_edge_max_error() const; - void set_vertices_per_polyon(float p_value); - float get_vertices_per_polyon() const; + void set_vertices_per_polygon(float p_value); + float get_vertices_per_polygon() const; void set_detail_sample_distance(float p_value); float get_detail_sample_distance() const; |