bevy/crates/bevy_core_pipeline/src
Daniel McNab 09a3d8abe0 Allow minimising in 2d (#4527)
# Objective

- We can't minimise if there's a 2d camera because ??? there legally must be a 2d target.
- Fixes https://github.com/bevyengine/bevy/issues/4526
- Fixes https://github.com/bevyengine/bevy/issues/4856

## Solution

- Make it not crash in those cases, just do nothing
- Seems to work ¯\\_(ツ)_/¯
- See also the companion commit in https://github.com/bevyengine/bevy/pull/3597 - 503c24717321bb2bb2681b358020ad1bcbef510e

Co-authored-by: Asteria <asteria131@outlook.com>
2022-05-30 15:32:48 +00:00
..
clear_pass_driver.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
clear_pass.rs Make get_resource (and friends) infallible (#4047) 2022-02-27 22:37:18 +00:00
lib.rs Move float_ord from bevy_core to bevy_utils (#4189) 2022-04-27 18:02:05 +00:00
main_pass_2d.rs Allow minimising in 2d (#4527) 2022-05-30 15:32:48 +00:00
main_pass_3d.rs Do not create nor execute render passes which have no phase items to draw (#4643) 2022-05-02 20:22:30 +00:00
main_pass_driver.rs Switch render order to 2d-on-top-of-3d (#4467) 2022-04-13 20:05:34 +00:00