issues
search
bevyengine
/
bevy
A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.4k
stars
3.59k
forks
source link
Fix adding a subtree of required components to an existing tree replacing shallower required component constructors
#16441
Closed
andriyDev
closed
3 days ago
andriyDev
commented
5 days ago
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.
Objective
Solution
Testing