mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add editor setting for default animation step
This commit is contained in:
parent
7893202fba
commit
c2813b902c
4 changed files with 10 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue