diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-08-05 16:32:34 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-08-05 16:32:34 -0300 |
commit | 52649f10380d64e4d979fffe5f000b3d3609d549 (patch) | |
tree | 8d413fdfd9c3b69ec7ff4f634548d07c9ff80663 | |
parent | e47ecc63ef50cfebe7ef141fc797637c9f875028 (diff) | |
download | redot-engine-52649f10380d64e4d979fffe5f000b3d3609d549.tar.gz |
emit signal properly when frame has changed in autoplay, fixes #7730
-rw-r--r-- | scene/2d/animated_sprite.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/animated_sprite.cpp b/scene/2d/animated_sprite.cpp index 22649cedd7..b10ee85da5 100644 --- a/scene/2d/animated_sprite.cpp +++ b/scene/2d/animated_sprite.cpp @@ -346,6 +346,7 @@ void AnimatedSprite::_notification(int p_what) { update(); _change_notify("frame"); + emit_signal(SceneStringNames::get_singleton()->frame_changed); } float to_process = MIN(timeout, remaining); |