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 @@ -170,12 +170,10 @@ impl Plugin for PbrPlugin {
170
170
)
171
171
. add_system_to_stage (
172
172
RenderStage :: Prepare ,
173
- // this is added as an exclusive system because it contributes new views. it must run (and have Commands applied)
174
- // _before_ the `prepare_views()` system is run. ideally this becomes a normal system when "stageless" features come out
175
- render:: prepare_clusters
176
- . exclusive_system ( )
177
- . label ( RenderLightSystems :: PrepareClusters )
178
- . after ( RenderLightSystems :: PrepareLights ) ,
173
+ // NOTE: This needs to run after prepare_lights. As prepare_lights is an exclusive system,
174
+ // just adding it to the non-exclusive systems in the Prepare stage means it runs after
175
+ // prepare_lights.
176
+ render:: prepare_clusters. label ( RenderLightSystems :: PrepareClusters ) ,
179
177
)
180
178
. add_system_to_stage (
181
179
RenderStage :: Queue ,
You can’t perform that action at this time.
0 commit comments