You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix global AnimationLibrary name validation
This commit is contained in:
@@ -427,7 +427,7 @@ void AnimationPlayerEditor::_animation_name_edited() {
|
||||
player->stop();
|
||||
|
||||
String new_name = name->get_text();
|
||||
if (!AnimationLibrary::is_valid_name(new_name)) {
|
||||
if (!AnimationLibrary::is_valid_animation_name(new_name)) {
|
||||
error_dialog->set_text(TTR("Invalid animation name!"));
|
||||
error_dialog->popup_centered();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user