bevy/crates/bevy_render
robtfm 960af2b2c9 try_insert Aabbs (#10801)
# Objective

avoid panics from `calculate_bounds` systems if entities are despawned
in PostUpdate.

there's a running general discussion (#10166) about command panicking.
in the meantime we may as well fix up some cases where it's clear a
failure to insert is safe.

## Solution

change `.insert(aabb)` to `.try_insert(aabb)`
2023-11-29 17:05:25 -08:00
..
macros Release 0.12 (#10362) 2023-11-04 17:24:23 +00:00
src try_insert Aabbs (#10801) 2023-11-29 17:05:25 -08:00
Cargo.toml Release 0.12 (#10362) 2023-11-04 17:24:23 +00:00