summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-02 08:58:01 +0100
committerGitHub <noreply@github.com>2017-11-02 08:58:01 +0100
commit51b7fd90e645ab8c39d55268d2c8c5eb38925fc1 (patch)
tree822c3dfb803743dffa8138506359dcc931bef44e
parent4b477263a7c72c50a90e6b83cabfe8a04bfce9a2 (diff)
parent02382c4fd8c843a685408eea010e356113858298 (diff)
Merge pull request #12577 from Keetz/master
Fixed AnimationPlayer.get_autoplay() returning empty string [ci skip]
-rw-r--r--scene/animation/animation_player.cpp1
1 files changed, 0 insertions, 1 deletions
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;