bevy/crates/bevy_ui
ickshonpe fc659a6143
Default UI shadow samples fix (#15953)
# Objective

In `queue_shadows`, the `UiBoxShadows` option is unwrapped incorrectly
which results in the number of shadow samples being set to
`u32::default()` instead of `UiBoxShadows::default()` if the camera
entity doesn't have the component.

## Solution

Just use `unwrap_or_default` directly without `map`.
2024-10-16 17:01:10 +00:00
..
src Default UI shadow samples fix (#15953) 2024-10-16 17:01:10 +00:00
Cargo.toml Remove thiserror from bevy_ui (#15760) 2024-10-09 14:27:53 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy UI

License Crates.io Downloads Docs Discord