bevy/crates/bevy_scene/src
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
..
bundle.rs Add VisibilityBundle and use it to fix gltfs, scenes, and examples (#5335) 2022-07-16 02:47:23 +00:00
dynamic_scene_builder.rs Cleanup dynamic scene before building (#6254) 2022-12-20 16:16:58 +00:00
dynamic_scene.rs Allow iterating over with EntityRef over the entire World (#6843) 2022-12-05 22:35:02 +00:00
lib.rs [Fixes #6030] Bevy scene optional serde (#6076) 2022-11-14 23:08:22 +00:00
scene_loader.rs [Fixes #6030] Bevy scene optional serde (#6076) 2022-11-14 23:08:22 +00:00
scene_spawner.rs Make spawn_dynamic return InstanceId (#6663) 2022-11-18 21:16:31 +00:00
scene.rs Clean up Fetch code (#4800) 2022-10-28 09:25:50 +00:00
serde.rs bevy_reflect: Binary formats (#6140) 2022-11-04 02:22:54 +00:00