aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky2018-05-07 13:07:29 -0300
committerGitHub2018-05-07 13:07:29 -0300
commit4db0da0fcc057cb632d7ea573f7a09c622b4d89e (patch)
tree97c1655c99749d35fcd361461304a0a0024e0cfa
parent863781dd3c1ed114bab5d4d491271e3ad8ee211b (diff)
parent863eb0e1e0d6346beb211906b1308aaf28fc1bdc (diff)
downloadgodot-4db0da0fcc057cb632d7ea573f7a09c622b4d89e.tar.gz
godot-4db0da0fcc057cb632d7ea573f7a09c622b4d89e.tar.zst
godot-4db0da0fcc057cb632d7ea573f7a09c622b4d89e.zip
Merge pull request #18682 from YeldhamDev/play_backwards_autocomplete
Added "play_backwards" to the list o functions to autocomplete
Diffstat (limited to '')
-rw-r--r--scene/animation/animation_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp
index eca7caeaf..eb3954af2 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<String> *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<StringName> al;
get_animation_list(&al);
for (List<StringName>::Element *E = al.front(); E; E = E->next()) {