1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Add editor setting for default animation step

This commit is contained in:
kobewi
2024-10-22 13:43:42 +02:00
parent 7893202fba
commit c2813b902c
4 changed files with 10 additions and 1 deletions

View File

@@ -655,6 +655,8 @@ void AnimationPlayerEditor::_animation_name_edited() {
if (current_anim.is_valid()) {
new_anim->set_step(current_anim->get_step());
}
} else {
new_anim->set_step(EDITOR_GET("editors/animation/default_animation_step"));
}
String library_name;