浏览代码

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

Juan Linietsky 8 年之前
父节点
当前提交
52649f1038
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scene/2d/animated_sprite.cpp

+ 1 - 0
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);