Honor the Tween's final values
This commit is contained in:
parent
e3d6d863af
commit
ca96d7940e
1 changed files with 1 additions and 0 deletions
|
@ -609,6 +609,7 @@ void Tween::_tween_process(float p_delta) {
|
||||||
_apply_tween_value(data, result);
|
_apply_tween_value(data, result);
|
||||||
|
|
||||||
if (data.finish) {
|
if (data.finish) {
|
||||||
|
_apply_tween_value(data, data.final_val);
|
||||||
emit_signal("tween_complete", object, data.key);
|
emit_signal("tween_complete", object, data.key);
|
||||||
// not repeat mode, remove completed action
|
// not repeat mode, remove completed action
|
||||||
if (!repeat)
|
if (!repeat)
|
||||||
|
|
Loading…
Add table
Reference in a new issue