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

(cherry picked from commit 52649f1038)
This commit is contained in:
Juan Linietsky 2017-08-05 16:32:34 -03:00 committed by Rémi Verschelde
parent 61b43492a0
commit 17b04adcc3

View file

@ -343,6 +343,7 @@ void AnimatedSprite::_notification(int p_what) {
update();
_change_notify("frame");
emit_signal(SceneStringNames::get_singleton()->frame_changed);
}
float to_process = MIN(timeout, remaining);