mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
a31ebdc1a6
# 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() |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |