bevy/crates/bevy_transform/src
davier 336583a86b Update EntityMut's location in push_children() and insert_children() (#2604)
## Objective

This code would result in a crash:
```rust
use bevy::prelude::*;

fn main() {
    let mut world = World::new();
    let child = world.spawn().id();
    world.spawn().push_children(&[child]);
}
```

## Solution

Update the `EntityMut`'s location after inserting a component on the children entities, as it may have changed.
2021-08-10 01:12:42 +00:00
..
components Update glam (0.15.1) and hexasphere (3.4) (#2199) 2021-05-18 18:56:15 +00:00
hierarchy Update EntityMut's location in push_children() and insert_children() (#2604) 2021-08-10 01:12:42 +00:00
lib.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
transform_propagate_system.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00