mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix name included in animation when saved from slice in scene importer
This commit is contained in:
parent
8aa37cab89
commit
c6c4c55146
1 changed files with 1 additions and 0 deletions
|
|
@ -2078,6 +2078,7 @@ void ResourceImporterScene::_create_slices(AnimationPlayer *ap, Ref<Animation> a
|
|||
}
|
||||
}
|
||||
|
||||
new_anim->set_name(name);
|
||||
new_anim->set_loop_mode(loop_mode);
|
||||
new_anim->set_length(to - from);
|
||||
new_anim->set_step(anim->get_step());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue