Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Despawn with children doesn't need to remove entities from parents ch…
…ildren when parents are also removed (bevyengine#2278) Fixes bevyengine#2274 When calling `despawn_recursive`, the recursive loop doesn't need to remove the entity from the children list of its parent when the parent will also be deleted Upside: * Removes two entity lookup per entity being recursively despawned Downside: * The change detection on the `Children` component of a deleted entity in the despawned hierarchy will not be triggered
- Loading branch information