|  5d5d7833f0 # Objective Fix #2406 Scene parenting was not done completely, leaving the hierarchy maintenance to the standard system. As scene spawning happens in stage `PreUpdate` and hierarchy maintenance in stage `PostUpdate`, this left the scene in an invalid state parent wise for part of a frame ## Solution Also add/update the `Children` component when spawning the scene. I kept the `Children` component as a `SmallVec`, it could be moved to an `HashSet` to guarantee uniqueness Co-authored-by: François <8672791+mockersf@users.noreply.github.com> | ||
|---|---|---|
| .. | ||
| child_builder.rs | ||
| hierarchy_maintenance_system.rs | ||
| hierarchy.rs | ||
| mod.rs | ||