summaryrefslogtreecommitdiffstats
path: root/scene/3d/navigation.h
diff options
context:
space:
mode:
authorNathan Warden <nathan@nathanwarden.com>2017-12-15 15:09:06 -0500
committerNathan Warden <nathan@nathanwarden.com>2017-12-15 15:09:06 -0500
commit38caa4126f1d91d25d2fc9fb1d8fa68dde01299d (patch)
tree6273933b5d6ad572a58d2bd903b1836142c25ab9 /scene/3d/navigation.h
parentb872439eefb7d54a572ace3a57fea01787c46952 (diff)
downloadredot-engine-38caa4126f1d91d25d2fc9fb1d8fa68dde01299d.tar.gz
Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created.
Diffstat (limited to 'scene/3d/navigation.h')
-rw-r--r--scene/3d/navigation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/navigation.h b/scene/3d/navigation.h
index d9a38f7b00..134afa2278 100644
--- a/scene/3d/navigation.h
+++ b/scene/3d/navigation.h
@@ -166,7 +166,7 @@ public:
Vector3 get_up_vector() const;
//API should be as dynamic as possible
- int navmesh_create(const Ref<NavigationMesh> &p_mesh, const Transform &p_xform, Object *p_owner = NULL);
+ int navmesh_add(const Ref<NavigationMesh> &p_mesh, const Transform &p_xform, Object *p_owner = NULL);
void navmesh_set_transform(int p_id, const Transform &p_xform);
void navmesh_remove(int p_id);