bevy/crates/bevy_ecs/src/schedule
Alexander Sepity 500d7469e7 Fixed criteria-less systems being re-ran unnecessarily (#1754)
Fixes #1753.

The problem was introduced while reworking the logic around stages' own criteria. Before #1675 they used to be stored and processed inline with the systems' criteria, and systems without criteria used that of their stage. After, criteria-less systems think they should run, always. This PR more or less restores previous behavior; a less cludge solution can wait until after 0.5 - ideally, until stageless.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2021-03-26 00:31:58 +00:00
..
executor_parallel.rs format comments (#1612) 2021-03-11 00:27:30 +00:00
executor.rs format comments (#1612) 2021-03-11 00:27:30 +00:00
graph_utils.rs System sets and run criteria v2 (#1675) 2021-03-24 20:11:55 +00:00
label.rs System sets and run criteria v2 (#1675) 2021-03-24 20:11:55 +00:00
mod.rs System sets and run criteria v2 (#1675) 2021-03-24 20:11:55 +00:00
run_criteria.rs System sets and run criteria v2 (#1675) 2021-03-24 20:11:55 +00:00
stage.rs Fixed criteria-less systems being re-ran unnecessarily (#1754) 2021-03-26 00:31:58 +00:00
state.rs Fixed criteria-less systems being re-ran unnecessarily (#1754) 2021-03-26 00:31:58 +00:00
system_container.rs System sets and run criteria v2 (#1675) 2021-03-24 20:11:55 +00:00
system_descriptor.rs System sets and run criteria v2 (#1675) 2021-03-24 20:11:55 +00:00
system_set.rs System sets and run criteria v2 (#1675) 2021-03-24 20:11:55 +00:00