bevy/crates
Torne Wuff b1afe2dcca Make System responsible for updating its own archetypes (#4115)
# Objective

- Make it possible to use `System`s outside of the scheduler/executor without having to define logic to track new archetypes and call `System::add_archetype()` for each.

## Solution

- Replace `System::add_archetype(&Archetype)` with `System::update_archetypes(&World)`, making systems responsible for tracking their own most recent archetype generation the way that `SystemState` already does.

This has minimal (or simplifying) effect on most of the code with the exception of `FunctionSystem`, which must now track the latest `ArchetypeGeneration` it saw instead of relying on the executor to do it.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-04-07 20:50:43 +00:00
..
bevy_animation animations: don't ignore curves with one keyframe (#4406) 2022-04-04 19:45:51 +00:00
bevy_app Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00
bevy_asset Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_audio Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_core Make System responsible for updating its own archetypes (#4115) 2022-04-07 20:50:43 +00:00
bevy_core_pipeline Compute Pipeline Specialization (#3979) 2022-03-23 00:27:26 +00:00
bevy_crevice Add a helper for storage buffers similar to UniformVec (#4079) 2022-03-22 21:23:50 +00:00
bevy_derive bevy_derive: Add derives for Deref and DerefMut (#4328) 2022-03-29 02:10:06 +00:00
bevy_diagnostic Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_dylib Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_dynamic_plugin Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_ecs Make System responsible for updating its own archetypes (#4115) 2022-04-07 20:50:43 +00:00
bevy_ecs_compile_fail_tests REMOVE unsound lifetime annotations on EntityMut (#4096) 2022-04-04 21:33:33 +00:00
bevy_gilrs Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_gltf add AnimationPlayer component only on scene roots that are also animation roots (#4417) 2022-04-05 21:52:00 +00:00
bevy_hierarchy Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_input input clear should not clear pressed (#4418) 2022-04-04 22:10:00 +00:00
bevy_internal animation player (#4375) 2022-04-02 22:36:02 +00:00
bevy_log Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_macro_utils Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_math Remove face_toward.rs (#4277) 2022-04-03 14:40:46 +00:00
bevy_pbr Skinned extraction speedup (#4428) 2022-04-07 16:16:36 +00:00
bevy_reflect Re-enable test_property_type_registration() (#4419) 2022-04-05 18:34:27 +00:00
bevy_render Use storage buffers for clustered forward point lights (#3989) 2022-04-07 16:16:35 +00:00
bevy_scene Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_sprite Use storage buffers for clustered forward point lights (#3989) 2022-04-07 16:16:35 +00:00
bevy_tasks CI runs cargo miri test -p bevy_ecs (#4310) 2022-03-25 00:26:07 +00:00
bevy_text can specify an anchor for a sprite (#3463) 2022-04-04 22:09:59 +00:00
bevy_transform Skinned extraction speedup (#4428) 2022-04-07 16:16:36 +00:00
bevy_ui Fix clicked UI nodes getting reset when hovering child nodes (#4194) 2022-04-07 19:08:09 +00:00
bevy_utils use error scope to handle errors on shader module creation (#3675) 2022-03-29 22:39:14 +00:00
bevy_window Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00
bevy_winit Enable drag-and-drop events on windows (#3772) 2022-04-04 20:09:54 +00:00