aboutsummaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRasmus Ketelsen2017-11-02 08:42:43 +0100
committerRasmus Ketelsen2017-11-02 08:42:43 +0100
commit02382c4fd8c843a685408eea010e356113858298 (patch)
tree822c3dfb803743dffa8138506359dcc931bef44e /scene
parent4b477263a7c72c50a90e6b83cabfe8a04bfce9a2 (diff)
downloadgodot-02382c4fd8c843a685408eea010e356113858298.tar.gz
godot-02382c4fd8c843a685408eea010e356113858298.tar.zst
godot-02382c4fd8c843a685408eea010e356113858298.zip
Fixed AnimationPlayer.get_autoplay() returning empty string
Diffstat (limited to 'scene')
-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 0f631c69b..80b774807 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;