소스 검색

Revert "Fix autoplay animation starts from last editor state #8976"

This reverts commit 0aa6b4aac74971addd98ab3ed465b0febc4633d9.

It's a compatibility breaking change, so it shouldn't be done in the 2.1 branch.
Rémi Verschelde 8 년 전
부모
커밋
fe5eb2a0bc
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      scene/animation/animation_player.cpp

+ 0 - 1
scene/animation/animation_player.cpp

@@ -202,7 +202,6 @@ void AnimationPlayer::_notification(int p_what) {
 			if (!get_tree()->is_editor_hint() && animation_set.has(autoplay)) {
 				play(autoplay);
 				set_autoplay(""); //this line is the fix for autoplay issues with animatio
-				_animation_process(0);
 			}
 		} break;
 		case NOTIFICATION_PROCESS: {