diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-09 13:54:55 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-10 07:17:51 +0200 |
commit | 78619a5866f44b057bc539e46a936f7580360800 (patch) | |
tree | 5ed9bb7c0b4b10e3979f5ada26505e62ba465c4a /scene/3d/path.cpp | |
parent | b8420cda9c449160330ae30f1f89be7238502ee6 (diff) | |
download | redot-engine-78619a5866f44b057bc539e46a936f7580360800.tar.gz |
Fixes method definitions with extra number of arguments
Diffstat (limited to 'scene/3d/path.cpp')
-rw-r--r-- | scene/3d/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/path.cpp b/scene/3d/path.cpp index 18b5758d47..f8df21004e 100644 --- a/scene/3d/path.cpp +++ b/scene/3d/path.cpp @@ -79,7 +79,7 @@ Ref<Curve3D> Path::get_curve() const { void Path::_bind_methods() { ClassDB::bind_method(D_METHOD("set_curve", "curve"), &Path::set_curve); - ClassDB::bind_method(D_METHOD("get_curve", "curve"), &Path::get_curve); + ClassDB::bind_method(D_METHOD("get_curve"), &Path::get_curve); ClassDB::bind_method(D_METHOD("_curve_changed"), &Path::_curve_changed); ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "curve", PROPERTY_HINT_RESOURCE_TYPE, "Curve3D"), "set_curve", "get_curve"); |