Merge pull request #8208 from Shin-NiL/master

Honor the Tween's final values
This commit is contained in:
Rémi Verschelde 2017-03-30 13:09:17 +02:00 committed by GitHub
commit d7dd276ccc
1 changed files with 1 additions and 0 deletions

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)