diff options
author | Shin-NiL <niltonr@gmail.com> | 2017-03-30 07:58:20 -0300 |
---|---|---|
committer | Shin-NiL <niltonr@gmail.com> | 2017-03-30 07:58:20 -0300 |
commit | d8c396a44f8e194cda3220a33ba84eaa982736d2 (patch) | |
tree | aca91741d9872b3dc867a8a72d1df62a100f54ad /scene/animation | |
parent | c37fad650f92845a6f59740fea2fea1b46f56db1 (diff) |
Honor the Tween's final values
Diffstat (limited to 'scene/animation')
-rw-r--r-- | scene/animation/tween.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp index c455d20b14..bb7ea47178 100644 --- a/scene/animation/tween.cpp +++ b/scene/animation/tween.cpp @@ -610,6 +610,7 @@ void Tween::_tween_process(float p_delta) { _apply_tween_value(data, result); if (data.finish) { + _apply_tween_value(data, data.final_val); emit_signal("tween_completed", object, data.key); // not repeat mode, remove completed action if (!repeat) |