Removes type information from method binds

This commit is contained in:
Ignacio Etcheverry
2017-08-09 13:19:41 +02:00
parent 1e74f27f8f
commit 2f290038d6
140 changed files with 603 additions and 603 deletions

View File

@@ -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");