mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix name included in animation when saved from slice in scene importer
(cherry picked from commit c6c4c55146)
This commit is contained in:
committed by
RadenTheFolf
parent
3b558cc252
commit
2044aa7837
@@ -1958,6 +1958,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());
|
||||
|
||||
Reference in New Issue
Block a user