bevy/crates
Jerome Humbert 1f72e078ae Add SubApp::take_extract() (#16862)
# Objective

Fixes #16850

## Solution

Add a new function `SubApp::take_extract()`, similar to
`Option::take()`, which allows stealing the currently installed extract
function of a sub-app, with the intent to replace it with a custom one
calling the original one via `set_extract()`.

This pattern enables registering a custom "world sync" function similar
to the existing one `entity_sync_system()`, to run custom world sync
logic with mutable access to both the main and render worlds.

## Testing

`cargo r -p ci` currently doesn't build locally, event after upgrading
rustc to latest and doing a `cargo update`.
2025-01-03 19:27:41 +01:00
..
bevy_a11y Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_animation Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_app Add SubApp::take_extract() (#16862) 2025-01-03 19:27:41 +01:00
bevy_asset Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_audio Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_color Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_core Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_core_pipeline Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_derive Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_dev_tools Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_diagnostic Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_dylib Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_ecs Set panic as default fallible system param behavior (#16638) 2025-01-03 19:27:37 +01:00
bevy_encase_derive Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_gilrs Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_gizmos Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_gltf Make bevy_gltf compile without bevy_animation feature (#16551) 2025-01-03 19:15:53 +01:00
bevy_hierarchy Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_image Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_input Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_internal Expose bevy_image as a feature (#16948) 2025-01-03 19:27:41 +01:00
bevy_log Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_macro_utils Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_math Fix atan2 docs (#16673) 2025-01-03 19:15:53 +01:00
bevy_mesh Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_mikktspace Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_pbr Expose Tonemapping LUT binding indices (#16934) 2025-01-03 19:27:41 +01:00
bevy_picking don't trigger drag events if there's no movement (#16950) 2025-01-03 19:27:41 +01:00
bevy_ptr Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_reflect Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_remote BrpQueryRow has field deserialization fix (#16613) 2025-01-03 19:15:53 +01:00
bevy_render Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_scene Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_sprite Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_state Make StateTransitionSteps public (#16612) 2025-01-03 19:15:53 +01:00
bevy_tasks Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_text Add missing registration for TextEntity (#16649) 2025-01-03 19:15:53 +01:00
bevy_time Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_transform Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_ui ScrollPosition scale factor fix (#16617) 2025-01-03 19:26:40 +01:00
bevy_utils Release 0.15.0 2024-11-29 01:50:42 +01:00
bevy_window add missing type registration for Monitor (#16685) 2025-01-03 19:15:53 +01:00
bevy_winit Release 0.15.0 2024-11-29 01:50:42 +01:00