summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamesh Ravone <ramesh.maran443@gmail.com>2017-06-25 16:35:39 +0530
committerGitHub <noreply@github.com>2017-06-25 16:35:39 +0530
commitc6e295c3990285216ced2fbc1aaf7ca1f77327ea (patch)
treeb4557542af53d1fdaab68f951638e8961710c95e
parent83ae9a5e2859a1dc2393aebeb9f9efdf12c53e73 (diff)
Fixes method bind
-rw-r--r--scene/resources/curve.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/curve.cpp b/scene/resources/curve.cpp
index 006e7de562..3957923c6a 100644
--- a/scene/resources/curve.cpp
+++ b/scene/resources/curve.cpp
@@ -720,8 +720,8 @@ void Curve::_bind_methods() {
ClassDB::bind_method(D_METHOD("remove_point", "index"), &Curve::remove_point);
ClassDB::bind_method(D_METHOD("clear_points"), &Curve::clear_points);
ClassDB::bind_method(D_METHOD("get_point_pos", "index"), &Curve::get_point_pos);
- ClassDB::bind_method(D_METHOD("set_point_value", "index, y"), &Curve::set_point_value);
- ClassDB::bind_method(D_METHOD("set_point_offset", "index, offset"), &Curve::set_point_value);
+ ClassDB::bind_method(D_METHOD("set_point_value", "index", "y"), &Curve::set_point_value);
+ ClassDB::bind_method(D_METHOD("set_point_offset", "index", "offset"), &Curve::set_point_value);
ClassDB::bind_method(D_METHOD("interpolate", "offset"), &Curve::interpolate);
ClassDB::bind_method(D_METHOD("interpolate_baked", "offset"), &Curve::interpolate_baked);
ClassDB::bind_method(D_METHOD("get_point_left_tangent", "index"), &Curve::get_point_left_tangent);