File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -150,12 +150,10 @@ impl Plugin for PbrPlugin {
150
150
)
151
151
. add_system_to_stage (
152
152
RenderStage :: Prepare ,
153
- // this is added as an exclusive system because it contributes new views. it must run (and have Commands applied)
154
- // _before_ the `prepare_views()` system is run. ideally this becomes a normal system when "stageless" features come out
155
- render:: prepare_clusters
156
- . exclusive_system ( )
157
- . label ( RenderLightSystems :: PrepareClusters )
158
- . after ( RenderLightSystems :: PrepareLights ) ,
153
+ // NOTE: This needs to run after prepare_lights. As prepare_lights is an exclusive system,
154
+ // just adding it to the non-exclusive systems in the Prepare stage means it runs after
155
+ // prepare_lights.
156
+ render:: prepare_clusters. label ( RenderLightSystems :: PrepareClusters ) ,
159
157
)
160
158
. add_system_to_stage (
161
159
RenderStage :: Queue ,
You can’t perform that action at this time.
0 commit comments