diff options
author | David Sichma <david.sichma@student.kit.edu> | 2021-10-29 17:29:28 +0200 |
---|---|---|
committer | David Sichma <david.sichma@student.kit.edu> | 2021-10-29 17:29:28 +0200 |
commit | b9c7c52a29d40d21afceed57e735242abe7ffbca (patch) | |
tree | 766a7e9febe855be23f315fdf1db87a30e134441 /scene | |
parent | 8c162f4a7ba0f542cd7e9fbbe30f004504cc0809 (diff) |
Fixed Tween::interpolate_value argument order.
Diffstat (limited to 'scene')
-rw-r--r-- | scene/animation/tween.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp index c43b83747b..c2ad40bc1d 100644 --- a/scene/animation/tween.cpp +++ b/scene/animation/tween.cpp @@ -626,7 +626,7 @@ void Tween::_bind_methods() { ClassDB::bind_method(D_METHOD("parallel"), &Tween::parallel); ClassDB::bind_method(D_METHOD("chain"), &Tween::chain); - ClassDB::bind_method(D_METHOD("interpolate_value", "trans_type", "ease_type", "elapsed_time", "initial_value", "delta_value", "duration"), &Tween::interpolate_variant); + ClassDB::bind_method(D_METHOD("interpolate_value", "initial_value", "delta_value", "elapsed_time", "duration", "trans_type", "ease_type"), &Tween::interpolate_variant); ADD_SIGNAL(MethodInfo("step_finished", PropertyInfo(Variant::INT, "idx"))); ADD_SIGNAL(MethodInfo("loop_finished", PropertyInfo(Variant::INT, "loop_count"))); |