From fe5eb2a0bc06f97ae12329f295d926dd3d89f2de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 27 Jul 2017 07:42:47 +0200 Subject: [PATCH] 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. --- scene/animation/animation_player.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index ef96d20bfe0..6c627cb68e8 100644 --- a/scene/animation/animation_player.cpp +++ b/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: {