summaryrefslogtreecommitdiffstats
path: root/scene/3d/path.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-09 13:19:41 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-10 07:17:50 +0200
commit2f290038d63b55e6ce40296602f36bc98ab26015 (patch)
tree170fd3a3096625b57ea2dc32fdee096565b161b0 /scene/3d/path.cpp
parent1e74f27f8fe962f51e6b1786f861c89863492745 (diff)
downloadredot-engine-2f290038d63b55e6ce40296602f36bc98ab26015.tar.gz
Removes type information from method binds
Diffstat (limited to 'scene/3d/path.cpp')
-rw-r--r--scene/3d/path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/path.cpp b/scene/3d/path.cpp
index 5c29918118..18b5758d47 100644
--- a/scene/3d/path.cpp
+++ b/scene/3d/path.cpp
@@ -78,8 +78,8 @@ Ref<Curve3D> Path::get_curve() const {
void Path::_bind_methods() {
- ClassDB::bind_method(D_METHOD("set_curve", "curve:Curve3D"), &Path::set_curve);
- ClassDB::bind_method(D_METHOD("get_curve:Curve3D", "curve"), &Path::get_curve);
+ 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("_curve_changed"), &Path::_curve_changed);
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "curve", PROPERTY_HINT_RESOURCE_TYPE, "Curve3D"), "set_curve", "get_curve");