mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user