emit signal properly when frame has changed in autoplay, fixes #7730

This commit is contained in:
Juan Linietsky 2017-08-05 16:32:34 -03:00
parent e47ecc63ef
commit 52649f1038

View file

@ -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);