Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
IceSentry committed Nov 5, 2023
1 parent d555b8a commit 9ff886e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,11 @@ fn extract_infinite_grids(

fn extract_grid_shadows(
mut commands: Commands,
grids: Extract<Query<(Entity, &InfiniteGrid, &GridFrustumIntersect)>>,
grids: Extract<Query<(Entity, &InfiniteGridSettings, &GridFrustumIntersect)>>,
) {
let extracted: Vec<_> = grids
.iter()
.filter(|(_, grid, _)| grid.shadow_color.is_some())
.filter(|(_, grid_settings, _)| grid_settings.shadow_color.is_some())
.map(|(entity, _, intersect)| (entity, (*intersect,)))
.collect();
commands.insert_or_spawn_batch(extracted);
Expand Down

0 comments on commit 9ff886e

Please sign in to comment.