From fdec72b860cb658681baa1c9db1ebe08ede9f8b5 Mon Sep 17 00:00:00 2001 From: Alex Tennant Date: Mon, 22 May 2023 00:20:36 +0100 Subject: [PATCH] Make `TextureAtlas::texture_handles` `pub` instead of `pub(crate)` (#8633) (#8643) # Objective - Fixes bevyengine#8633 ## Solution Make `TextureAtlas::texture_handles` `pub` instead of `pub(crate)`. --- crates/bevy_sprite/src/texture_atlas.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_sprite/src/texture_atlas.rs b/crates/bevy_sprite/src/texture_atlas.rs index 479e28927e..eaa60cb107 100644 --- a/crates/bevy_sprite/src/texture_atlas.rs +++ b/crates/bevy_sprite/src/texture_atlas.rs @@ -20,7 +20,7 @@ pub struct TextureAtlas { /// The specific areas of the atlas where each texture can be found pub textures: Vec, /// Mapping from texture handle to index - pub(crate) texture_handles: Option, usize>>, + pub texture_handles: Option, usize>>, } #[derive(Component, Debug, Clone, Reflect, FromReflect)]