bevy/crates/bevy_scene
François e8b28547bf Cleanup dynamic scene before building (#6254)
# Objective

- Dynamic scene builder can build scenes without components, if they didn't have any matching the type registry
- Those entities are not really useful in the final `DynamicScene`

## Solution

- Add a method `remove_empty_entities` that will remove empty entities. It's not called by default when calling `build`, I'm not sure if that's a good idea or not.
2022-12-20 16:16:58 +00:00
..
src Cleanup dynamic scene before building (#6254) 2022-12-20 16:16:58 +00:00
Cargo.toml [Fixes #6030] Bevy scene optional serde (#6076) 2022-11-14 23:08:22 +00:00