bevy/crates/bevy_render
IceSentry d0ed3ab379 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-30 22:59:10 +02:00
..
macros Release 0.16.0 2025-04-21 23:14:00 +02:00
src Move trigger_screenshots to finish() (#19204) 2025-05-30 22:59:10 +02:00
Cargo.toml Release 0.16.0 2025-04-21 23:14:00 +02:00
LICENSE-APACHE Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
LICENSE-MIT Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
README.md

Bevy Render

License Crates.io Downloads Docs Discord