You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
animation autocomplete bug fixed
(cherry picked from commit b07e788ad9)
This commit is contained in:
committed by
Rémi Verschelde
parent
38509f1a89
commit
3a08658881
@@ -1542,7 +1542,7 @@ void AnimationPlayer::get_argument_options(const StringName &p_function, int p_i
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
String pf = p_function;
|
String pf = p_function;
|
||||||
if (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 == "remove_animation" || p_function == "has_animation" || p_function == "queue")) {
|
||||||
List<StringName> al;
|
List<StringName> al;
|
||||||
get_animation_list(&al);
|
get_animation_list(&al);
|
||||||
for (List<StringName>::Element *E = al.front(); E; E = E->next()) {
|
for (List<StringName>::Element *E = al.front(); E; E = E->next()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user