bevy/crates/bevy_render
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
..
macros Remove upcasting methods + Cleanup interned label code (#18984) 2025-05-26 15:38:12 +00:00
src Move trigger_screenshots to finish() (#19204) 2025-05-26 18:07:17 +00:00
Cargo.toml Update ktx2 to 0.4.0 (#19073) 2025-05-05 16:42:36 +00: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