Merge pull request #12577 from Keetz/master

Fixed AnimationPlayer.get_autoplay() returning empty string

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-11-02 08:58:01 +01:00 committed by GitHub
commit 51b7fd90e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,6 @@ void AnimationPlayer::_notification(int p_what) {
if (!Engine::get_singleton()->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;