From d8c396a44f8e194cda3220a33ba84eaa982736d2 Mon Sep 17 00:00:00 2001 From: Shin-NiL Date: Thu, 30 Mar 2017 07:58:20 -0300 Subject: [PATCH] Honor the Tween's final values --- scene/animation/tween.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp index c455d20b141..bb7ea471785 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)