From 4686437d7a250f6e1208e87742712d5c8535e9fe Mon Sep 17 00:00:00 2001 From: Jakob Hellermann Date: Fri, 5 Mar 2021 18:33:20 +0000 Subject: [PATCH] add Or back to prelude (#1564) The bevy ecs v2 rewrite seems to have removed the `Or` query filter from the prelude, which I assume was done on accident, since `With` and `Without` are still there. --- crates/bevy_ecs/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/lib.rs b/crates/bevy_ecs/src/lib.rs index e6d0bdb2a0..81d55c85ff 100644 --- a/crates/bevy_ecs/src/lib.rs +++ b/crates/bevy_ecs/src/lib.rs @@ -16,7 +16,7 @@ pub mod prelude { pub use crate::{ bundle::Bundle, entity::Entity, - query::{Added, Changed, Flags, Mutated, QueryState, With, WithBundle, Without}, + query::{Added, Changed, Flags, Mutated, Or, QueryState, With, WithBundle, Without}, schedule::{ AmbiguitySetLabel, ExclusiveSystemDescriptorCoercion, ParallelSystemDescriptorCoercion, Schedule, Stage, StageLabel, State, StateStage, SystemLabel, SystemStage,