bevy/crates/bevy_hierarchy
Bruce Reif (Buswolley) 7604464438
fix panic when moving child (#8346)
# Objective
When changing an Entity's `Parent` to a new one from an old `Parent`
that doesn't exist, Bevy panics. Fixes #8337.

## Solution

Use `get_entity_mut` instead of `entity_mut` in `remove_from_children`.

---------

Co-authored-by: James Liu <contact@jamessliu.com>
2023-04-17 18:03:47 +00:00
..
src fix panic when moving child (#8346) 2023-04-17 18:03:47 +00:00
Cargo.toml chore: Release (#7920) 2023-03-06 05:13:36 +00:00