diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-19 09:15:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 09:15:26 +0200 |
commit | b6191261a1534a7e10e7afff0d23f5a52c170e61 (patch) | |
tree | f97f8de1488b647a91bcddf781cfcffbab0353e8 | |
parent | 9388a286a2e684f285bd4b2f15ea2e250efb9f19 (diff) | |
parent | 74e15ea35ff8b291e42e2c0b8f39c5708c63de15 (diff) |
Merge pull request #62197 from timothyqiu/aniplayer-hint
Remove argument option for the `remove_animation` that no longer exists
-rw-r--r-- | scene/animation/animation_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index 8edfaa5853..5d471c9e84 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -1909,7 +1909,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_idx == 0 && (p_function == "play" || p_function == "play_backwards" || p_function == "remove_animation" || p_function == "has_animation" || p_function == "queue")) { + if (p_idx == 0 && (p_function == "play" || p_function == "play_backwards" || p_function == "has_animation" || p_function == "queue")) { List<StringName> al; get_animation_list(&al); for (const StringName &name : al) { |