bevy/crates/bevy_pbr
Robert Swain d11409028a bevy_pbr: Do not panic when more than 256 point lights are added the scene (#3697)
# Objective

- Do not panic when mroe than 256 point lights are added the scene
- Fixes https://github.com/bevyengine/bevy/issues/3682

## Solution

- Only iterate the first `MAX_POINT_LIGHTS` lights instead of as many as there are

## Open questions

- Should we warn that there are more than the maximum allowed number of point lights in the scene?
2022-02-12 20:35:53 -08:00
..
src bevy_pbr: Do not panic when more than 256 point lights are added the scene (#3697) 2022-02-12 20:35:53 -08:00
Cargo.toml Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00