bevy/crates/bevy_pbr
Edgar Geier e03dd4d695
Run update_previous_view_projections in PreUpdate schedule (#9024)
# Objective

- Fixes #8630.

## Solution

Since a camera's view and projection matrices are modified during
`PostUpdate` in `camera_system` and `propagate_transforms`, it is fine
to move `update_previous_view_projections` from `Update` to `PreUpdate`.
Doing so adds consistence with `update_mesh_previous_global_transforms`
and allows systems in `Update` to use `PreviousViewProjection` correctly
without explicit ordering.
2023-07-05 15:51:19 +00:00
..
src Run update_previous_view_projections in PreUpdate schedule (#9024) 2023-07-05 15:51:19 +00:00
Cargo.toml improve shader import model (#5703) 2023-06-27 00:29:22 +00:00