fix(spatial): fix model nodes not despawning properly
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -261,6 +261,7 @@ fn gen_model_parts(
|
||||
);
|
||||
}
|
||||
_ = model.parts.set(parts);
|
||||
model.spatial.set_entity(model.bevy_scene_entity.get().unwrap().0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user