Skip to content

Commit

Permalink
Remove reference to base sets (#9032)
Browse files Browse the repository at this point in the history
# Objective

- Remove all references to base sets following schedule-first rework

## Solution

- Remove last references to base sets in `GraphInfo`
  • Loading branch information
jnhyatt authored Jul 3, 2023
1 parent 889a5fb commit 01eb1bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion crates/bevy_ecs/src/schedule/graph_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ pub(crate) struct GraphInfo {
pub(crate) sets: Vec<BoxedSystemSet>,
pub(crate) dependencies: Vec<Dependency>,
pub(crate) ambiguous_with: Ambiguity,
pub(crate) base_set: Option<BoxedSystemSet>,
}

/// Converts 2D row-major pair of indices into a 1D array index.
Expand Down
4 changes: 0 additions & 4 deletions crates/bevy_ecs/src/schedule/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -747,10 +747,6 @@ impl ScheduleGraph {
self.check_set(id, &**set)?;
}

if let Some(base_set) = &graph_info.base_set {
self.check_set(id, &**base_set)?;
}

Ok(())
}

Expand Down

0 comments on commit 01eb1bf

Please sign in to comment.