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

Fix name included in animation when saved from slice in scene importer

This commit is contained in:
shadowcow13
2025-08-13 16:53:43 -06:00
parent 8aa37cab89
commit c6c4c55146

View File

@@ -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());