bevy/crates/bevy_sprite
s-puig a31ebdc1a6
Fix TextureAtlasBuilder padding (#10031)
# Objective

- Fix TextureAtlasBuilder padding issue

TextureAtlasBuilder padding is reserved during add_texture() but can
still be changed afterwards. This means that changing padding after the
textures will be wrongly applied, either distorting the textures or
panicking if new padding is higher than texture+old padding.


## Solution

- Delay applying padding until finish()
2023-10-06 15:33:57 +00:00
..
src Fix TextureAtlasBuilder padding (#10031) 2023-10-06 15:33:57 +00:00
Cargo.toml Use radsort for Transparent2d PhaseItem sorting (#9882) 2023-09-21 17:53:20 +00:00