summaryrefslogtreecommitdiffstats
path: root/scene/2d/animated_sprite.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-05 16:32:34 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-08-05 16:32:34 -0300
commit52649f10380d64e4d979fffe5f000b3d3609d549 (patch)
tree8d413fdfd9c3b69ec7ff4f634548d07c9ff80663 /scene/2d/animated_sprite.cpp
parente47ecc63ef50cfebe7ef141fc797637c9f875028 (diff)
downloadredot-engine-52649f10380d64e4d979fffe5f000b3d3609d549.tar.gz
emit signal properly when frame has changed in autoplay, fixes #7730
Diffstat (limited to 'scene/2d/animated_sprite.cpp')
-rw-r--r--scene/2d/animated_sprite.cpp1
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);