bevy/crates/bevy_render/src
IceSentry 85284cbb90
Move trigger_screenshots to finish() (#19204)
# Objective

- The tigger_screenshots system gets added in `.build()` but relies on a
resource that is only inserted in `.finish()`
- This isn't a bug for most users, but when doing headless mode testing
it can technically work without ever calling `.finish()` and did work
before bevy 0.15 but while migrating my work codebase I had an issue of
test failing because of this

## Solution

- Move the trigger_screenshots system to `.finish()`

## Testing

- I ran the screenshot example and it worked as expected
2025-05-26 18:07:17 +00:00
..
batching clippy: expect large variants and other small fixes (#19222) 2025-05-15 22:29:59 +00:00
camera Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
diagnostic Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
experimental bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
mesh clippy: expect large variants and other small fixes (#19222) 2025-05-15 22:29:59 +00:00
primitives reexport entity set collections in entity module (#18413) 2025-03-30 03:51:14 +00:00
render_graph Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
render_phase Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
render_resource refactor(render): cleanup add_import_to_composer (#19269) 2025-05-18 06:30:38 +00:00
renderer Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
texture Optional explicit compressed image format support (#19190) 2025-05-26 18:00:33 +00:00
view Move trigger_screenshots to finish() (#19204) 2025-05-26 18:07:17 +00:00
alpha.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
bindless.wgsl Use global binding arrays for bindless resources. (#17898) 2025-02-21 05:55:36 +00:00
color_operations.wgsl
extract_component.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
extract_instances.rs
extract_param.rs Improve error message for missing resources (#18593) 2025-03-30 02:38:17 +00:00
extract_resource.rs
globals.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
globals.wgsl
gpu_component_array_buffer.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
gpu_readback.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
lib.rs Optional explicit compressed image format support (#19190) 2025-05-26 18:00:33 +00:00
maths.wgsl
pipelined_rendering.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
render_asset.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
settings.rs clippy: expect large variants and other small fixes (#19222) 2025-05-15 22:29:59 +00:00
storage.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
sync_component.rs
sync_world.rs Register some types (#19361) 2025-05-26 02:30:07 +00:00