aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/navigation_mesh.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson2017-07-19 02:03:34 +0700
committerPoommetee Ketson2017-07-19 02:03:34 +0700
commit49c7620326a557bc809340dd1090b46120e43eac (patch)
tree887ca12413c5d7d21bb9ac3190a1d81bb57157b7 /scene/3d/navigation_mesh.cpp
parent5a42bbaace7d8a72e2842f760c6ac905ac238d2c (diff)
downloadgodot-49c7620326a557bc809340dd1090b46120e43eac.tar.gz
godot-49c7620326a557bc809340dd1090b46120e43eac.tar.zst
godot-49c7620326a557bc809340dd1090b46120e43eac.zip
Diffstat (limited to 'scene/3d/navigation_mesh.cpp')
-rw-r--r--scene/3d/navigation_mesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/navigation_mesh.cpp b/scene/3d/navigation_mesh.cpp
index 4c93bcfb5..7392998d5 100644
--- a/scene/3d/navigation_mesh.cpp
+++ b/scene/3d/navigation_mesh.cpp
@@ -374,8 +374,8 @@ String NavigationMeshInstance::get_configuration_warning() const {
void NavigationMeshInstance::_bind_methods() {
- ClassDB::bind_method(D_METHOD("set_navigation_mesh", "navmesh"), &NavigationMeshInstance::set_navigation_mesh);
- ClassDB::bind_method(D_METHOD("get_navigation_mesh"), &NavigationMeshInstance::get_navigation_mesh);
+ ClassDB::bind_method(D_METHOD("set_navigation_mesh", "navmesh:NavigationMesh"), &NavigationMeshInstance::set_navigation_mesh);
+ ClassDB::bind_method(D_METHOD("get_navigation_mesh:NavigationMesh"), &NavigationMeshInstance::get_navigation_mesh);
ClassDB::bind_method(D_METHOD("set_enabled", "enabled"), &NavigationMeshInstance::set_enabled);
ClassDB::bind_method(D_METHOD("is_enabled"), &NavigationMeshInstance::is_enabled);