aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/navigation_polygon.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2017-08-09 13:19:41 +0200
committerIgnacio Etcheverry2017-08-10 07:17:50 +0200
commit2f290038d63b55e6ce40296602f36bc98ab26015 (patch)
tree170fd3a3096625b57ea2dc32fdee096565b161b0 /scene/2d/navigation_polygon.cpp
parent1e74f27f8fe962f51e6b1786f861c89863492745 (diff)
downloadgodot-2f290038d63b55e6ce40296602f36bc98ab26015.tar.gz
godot-2f290038d63b55e6ce40296602f36bc98ab26015.tar.zst
godot-2f290038d63b55e6ce40296602f36bc98ab26015.zip
Diffstat (limited to 'scene/2d/navigation_polygon.cpp')
-rw-r--r--scene/2d/navigation_polygon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/navigation_polygon.cpp b/scene/2d/navigation_polygon.cpp
index 807f72e81..779751c1c 100644
--- a/scene/2d/navigation_polygon.cpp
+++ b/scene/2d/navigation_polygon.cpp
@@ -459,8 +459,8 @@ String NavigationPolygonInstance::get_configuration_warning() const {
void NavigationPolygonInstance::_bind_methods() {
- ClassDB::bind_method(D_METHOD("set_navigation_polygon", "navpoly:NavigationPolygon"), &NavigationPolygonInstance::set_navigation_polygon);
- ClassDB::bind_method(D_METHOD("get_navigation_polygon:NavigationPolygon"), &NavigationPolygonInstance::get_navigation_polygon);
+ ClassDB::bind_method(D_METHOD("set_navigation_polygon", "navpoly"), &NavigationPolygonInstance::set_navigation_polygon);
+ ClassDB::bind_method(D_METHOD("get_navigation_polygon"), &NavigationPolygonInstance::get_navigation_polygon);
ClassDB::bind_method(D_METHOD("set_enabled", "enabled"), &NavigationPolygonInstance::set_enabled);
ClassDB::bind_method(D_METHOD("is_enabled"), &NavigationPolygonInstance::is_enabled);