Honor the Tween's final values

This commit is contained in:
Shin-NiL 2017-03-30 07:58:20 -03:00
parent c37fad650f
commit d8c396a44f

View file

@ -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)