bevy/crates/bevy_sprite/src
s-puig 4a1645bb8a
Fix bevy_picking sprite backend panic in out of bounds atlas index (#15202)
# Objective

- Fix panic when atlas index is out of bounds
- Took the chance to clean it up a bit

## Solution

- Use texture dimensions like rendering pipeline. Dropped atlas layouts
and indexes out of bounds are shown as a sprite.

## Testing

Used sprite_picking example, drop layout and/or use indexes out of
bounds.
2024-09-30 17:03:31 +00:00
..
mesh2d Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
render Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
texture_slice use precomputed border values (#15163) 2024-09-26 23:10:35 +00:00
bundle.rs Remove deprecated SpriteSheetBundle and AtlasImageBundle (#15062) 2024-09-09 15:36:09 +00:00
dynamic_texture_atlas_builder.rs Uncouple DynamicTextureAtlasBuilder from assets (#13717) 2024-06-08 12:38:03 +00:00
lib.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
picking_backend.rs Fix bevy_picking sprite backend panic in out of bounds atlas index (#15202) 2024-09-30 17:03:31 +00:00
sprite.rs Cleanup legacy code from bevy_sprite (#15304) 2024-09-19 16:06:09 +00:00
texture_atlas_builder.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
texture_atlas.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00