mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
put update_frusta::<Projection>
in UpdateProjectionFrusta
set (#7526)
# Objective - less ambiguities - `update_frusta<PerspectiveProjection>` is in `UpdatePerspectiveFrusta` and `update_frusta<OrthographicProjection>` is in `UpdateOrthographicFrusta`, but `UpdateProjectionFrusta` is empty and `update_frusta<Projection>` is directly in `PostUpdate` ## Solution - put `update_frusta<Projection>` in `UpdatePerspectiveFrusta` set **Before** ![image](https://user-images.githubusercontent.com/22177966/217019086-22709204-0e39-4ffc-a43b-0175f86e17ec.png) **After** ![image](https://user-images.githubusercontent.com/22177966/217019117-a28329a1-6614-490c-873f-773efadf6f41.png)
This commit is contained in:
parent
5c680a38a7
commit
e7e3b2cb5c
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ impl Plugin for VisibilityPlugin {
|
|||
)
|
||||
.add_system(
|
||||
update_frusta::<Projection>
|
||||
.in_base_set(CoreSet::PostUpdate)
|
||||
.in_set(UpdateProjectionFrusta)
|
||||
.after(camera_system::<Projection>)
|
||||
.after(TransformSystem::TransformPropagate),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue