From 02382c4fd8c843a685408eea010e356113858298 Mon Sep 17 00:00:00 2001 From: Rasmus Ketelsen Date: Thu, 2 Nov 2017 08:42:43 +0100 Subject: Fixed AnimationPlayer.get_autoplay() returning empty string --- 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 0f631c69b6..80b7748078 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -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; -- cgit v1.2.3