Skip to main content

process_reparents

Function process_reparents 

Source
pub fn process_reparents(world: &mut GameWorld, state: &mut EditorState)
Expand description

Drains state.pending_reparent and applies it to the ECS hierarchy.

Set by scene_tree’s drag-and-drop handler. The actual cycle check and Parent/Children bookkeeping live in GameWorld::set_parent.