mirror of
https://github.com/bevyengine/bevy
synced 2025-01-15 06:34:06 +00:00
7604464438
# 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> |
||
---|---|---|
.. | ||
components | ||
child_builder.rs | ||
events.rs | ||
hierarchy.rs | ||
lib.rs | ||
query_extension.rs | ||
valid_parent_check_plugin.rs |