From 863eb0e1e0d6346beb211906b1308aaf28fc1bdc Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Mon, 7 May 2018 12:28:55 -0300 Subject: [PATCH] Added "play_backwards" to the list o functions to autocomplete. --- scene/animation/animation_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index eca7caeaf02..eb3954af206 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -1208,7 +1208,7 @@ NodePath AnimationPlayer::get_root() const { void AnimationPlayer::get_argument_options(const StringName &p_function, int p_idx, List *r_options) const { String pf = p_function; - if (p_function == "play" || p_function == "remove_animation" || p_function == "has_animation" || p_function == "queue") { + if (p_function == "play" || p_function == "play_backwards" || p_function == "remove_animation" || p_function == "has_animation" || p_function == "queue") { List al; get_animation_list(&al); for (List::Element *E = al.front(); E; E = E->next()) {