diff options
author | Unknown <kubecz3k@gmail.com> | 2019-08-19 13:48:19 +0200 |
---|---|---|
committer | Jakub Grzesik <kubecz3k@gmail.com> | 2019-08-19 13:51:08 +0200 |
commit | 9d849c21ccde126dd841d4b9c89dfe3c1c865599 (patch) | |
tree | 28cc7cd6bfc4a85f1dc18fae1ff41cd53fca1631 /scene/2d/touch_screen_button.h | |
parent | cce148b0242836b5c32a7fa6c39013a2fc1c9eff (diff) |
fix animation freeze when playing animation from another AnimationPlayer
Donated by IMVU, Inc.
Fixes #31410
When we create an animation player with an animation from which we will start another AnimationPlayer's animation at the moment when that animation is already active - it will be stopped. When starting an animation with play() func all the 'outside' animations for animation player were removed (`_stop_playing_caches` func). This pr prevents this behaviour for the case when play is called for animation that's still active. This way the behaviour is the same between "Animation Playback track" and other tracks (tested with value track)
Diffstat (limited to 'scene/2d/touch_screen_button.h')
0 files changed, 0 insertions, 0 deletions