bevy/crates/bevy_ecs/src/world
andriyDev 6741e01dfa
Fix adding a subtree of required components to an existing tree replacing shallower required component constructors (#16441)
# Objective

- Fixes #16406 even more. The previous implementation did not take into
account the depth of the requiree when setting the depth relative to the
required_by component.

## Solution

- Add the depth of the requiree!

## Testing

- Added a test.

---------

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2024-11-22 00:52:17 +00:00
..
command_queue.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
component_constants.rs Fix *most* clippy lints (#15906) 2024-10-14 20:52:35 +00:00
deferred_world.rs Add Trigger::components, which lists the component targets that were triggered (#15811) 2024-10-15 02:17:03 +00:00
entity_fetch.rs Allow World::entity family of functions to take multiple entities and get multiple references back (#15614) 2024-10-07 15:21:40 +00:00
entity_ref.rs Add missing exports in bevy_ecs (#16415) 2024-11-17 09:47:33 +00:00
error.rs Remove thiserror from bevy_ecs (#15774) 2024-10-09 14:20:58 +00:00
filtered_resource.rs System param for dynamic resources (#15189) 2024-10-03 18:20:34 +00:00
identifier.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
mod.rs Fix adding a subtree of required components to an existing tree replacing shallower required component constructors (#16441) 2024-11-22 00:52:17 +00:00
reflect.rs Remove thiserror from bevy_ecs (#15774) 2024-10-09 14:20:58 +00:00
spawn_batch.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
unsafe_world_cell.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00