mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
33abd3e7f4
# Objective - Fix bug where `UiSurface::set_camera_children` (and `UiSurface::update_children` sometimes) will panic if you remove and add a `Node` component in a single tick. This is more likely to happen now because of `remove_with_requires`. ## Solution - Filter out entities with `Node` when cleaning up entities from `RemovedComponents<Node>`. ## Testing - Not tested (rust compiler refused to cooperate when I tried to patch this into my project), correct by inspection. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |