Revert "Fix autoplay animation starts from last editor state #8976"
This reverts commit 0aa6b4aac7
.
It's a compatibility breaking change, so it shouldn't be done in the 2.1 branch.
This commit is contained in:
parent
a116f04a3e
commit
fe5eb2a0bc
1 changed files with 0 additions and 1 deletions
|
@ -202,7 +202,6 @@ void AnimationPlayer::_notification(int p_what) {
|
||||||
if (!get_tree()->is_editor_hint() && animation_set.has(autoplay)) {
|
if (!get_tree()->is_editor_hint() && animation_set.has(autoplay)) {
|
||||||
play(autoplay);
|
play(autoplay);
|
||||||
set_autoplay(""); //this line is the fix for autoplay issues with animatio
|
set_autoplay(""); //this line is the fix for autoplay issues with animatio
|
||||||
_animation_process(0);
|
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_PROCESS: {
|
case NOTIFICATION_PROCESS: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue