diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-04-27 11:06:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 11:06:20 +0200 |
commit | 6c20ade250f358ff44d1556d8f11622c5a3048b8 (patch) | |
tree | 5940194c385fdc3f626ef1d9ee28ef1de5ca1a44 /scene | |
parent | 1b5d943fbbda7b5abd69650d07500cb62b9a343d (diff) | |
parent | cf74b3674031f30f9f28fd0d673f2d40fe246075 (diff) |
Merge pull request #60440 from KoBeWi/Ȑ̶̛̘̻̹̪͙̇̍̔͐̊̆̏̏̓̈́̉͌͘Ȩ̸͉̳̘̬̣̩̽̈́́̅̈́̕͝ͅS̷͓̮̙̪̪̺̭̰̓̎̌́͗͆͌̈́̒͋͊͘Ë̷̡̨͔̻͈̺͓̘͉́̏̍̓͋̋͠T̶̠̙͍̱̠̱̟͎͇̬̥̞̘͛̔̄̏̆̽̄̌̅͝ͅ
Diffstat (limited to 'scene')
-rw-r--r-- | scene/animation/animation_tree.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index f5236adbad..424716e002 100644 --- a/scene/animation/animation_tree.cpp +++ b/scene/animation/animation_tree.cpp @@ -541,9 +541,9 @@ bool AnimationTree::_update_caches(AnimationPlayer *player) { player->get_animation_list(&sname); Ref<Animation> reset_anim; - bool has_reset_anim = player->has_animation("RESET"); + bool has_reset_anim = player->has_animation(SceneStringNames::get_singleton()->RESET); if (has_reset_anim) { - reset_anim = player->get_animation("RESET"); + reset_anim = player->get_animation(SceneStringNames::get_singleton()->RESET); } for (const StringName &E : sname) { Ref<Animation> anim = player->get_animation(E); |