Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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`.
- Loading branch information