bevy/crates/bevy_sprite/src
Sludge 989f547080
Weak handle migration (#17695)
# Objective

- Make use of the new `weak_handle!` macro added in
https://github.com/bevyengine/bevy/pull/17384

## Solution

- Migrate bevy from `Handle::weak_from_u128` to the new `weak_handle!`
macro that takes a random UUID
- Deprecate `Handle::weak_from_u128`, since there are no remaining use
cases that can't also be addressed by constructing the type manually

## Testing

- `cargo run -p ci -- test`

---

## Migration Guide

Replace `Handle::weak_from_u128` with `weak_handle!` and a random UUID.
2025-02-05 22:44:20 +00:00
..
mesh2d Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
render Fix text-2d. (#17674) 2025-02-04 21:32:14 +00:00
texture_slice Proportional scaling for the sprite's texture. (#17258) 2025-01-24 18:24:02 +00:00
lib.rs Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
picking_backend.rs Rename PickingBehavior to Pickable (#17266) 2025-01-12 05:36:52 +00:00
sprite.rs Proportional scaling for the sprite's texture. (#17258) 2025-01-24 18:24:02 +00:00