From d8c396a44f8e194cda3220a33ba84eaa982736d2 Mon Sep 17 00:00:00 2001 From: Shin-NiL Date: Thu, 30 Mar 2017 07:58:20 -0300 Subject: Honor the Tween's final values --- scene/animation/tween.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene') 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) -- cgit v1.2.3