diff options
author | SnailRhymer <harrymilnes@hotmail.com> | 2022-05-24 13:22:16 +0100 |
---|---|---|
committer | SnailRhymer <harrymilnes@hotmail.com> | 2022-05-24 13:22:16 +0100 |
commit | b0e31eeb4aad7a85321d7c96c5802386321f39d0 (patch) | |
tree | 62dea38b9fd155b09dfe59cc940a95efcbdef1d5 /editor/plugins | |
parent | 4dd6f56c82fd87b85ad483e6f95585a83cd88a12 (diff) |
Remove configuration warning from AnimationPlayer
Remove warning about animations in different libraries having the same name, since shared names are fine.
Also fix missing vformat argument when setting the name of an animation to one that does conflict with an animation in the same library.
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index e75cdba003..765d963846 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -452,7 +452,7 @@ void AnimationPlayerEditor::_animation_name_edited() { } if (player->has_animation(test_name_prefix + new_name)) { - error_dialog->set_text(vformat(TTR("Animation '%s' already exists!"))); + error_dialog->set_text(vformat(TTR("Animation '%s' already exists!"), test_name_prefix + new_name)); error_dialog->popup_centered(); return; } |