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.
This commit is contained in:
SnailRhymer
2022-05-24 13:22:16 +01:00
parent 4dd6f56c82
commit b0e31eeb4a
3 changed files with 1 additions and 23 deletions

View File

@@ -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;
}