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**  **After** 
This commit is contained in:
parent
5c680a38a7
commit
e7e3b2cb5c
@ -247,7 +247,7 @@ impl Plugin for VisibilityPlugin {
|
|||||||
)
|
)
|
||||||
.add_system(
|
.add_system(
|
||||||
update_frusta::<Projection>
|
update_frusta::<Projection>
|
||||||
.in_base_set(CoreSet::PostUpdate)
|
.in_set(UpdateProjectionFrusta)
|
||||||
.after(camera_system::<Projection>)
|
.after(camera_system::<Projection>)
|
||||||
.after(TransformSystem::TransformPropagate),
|
.after(TransformSystem::TransformPropagate),
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user