Browse Source

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

Juan Linietsky 8 years ago
parent
commit
52649f1038
1 changed files with 1 additions and 0 deletions
  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);