diff --git a/crates/bevy_render/src/view/visibility/mod.rs b/crates/bevy_render/src/view/visibility/mod.rs index e4c926473e4887..7351b12e50330c 100644 --- a/crates/bevy_render/src/view/visibility/mod.rs +++ b/crates/bevy_render/src/view/visibility/mod.rs @@ -1,13 +1,10 @@ mod render_layers; - -use bevy_math::Vec3A; -use crossbeam_channel::unbounded; - pub use render_layers::*; use bevy_app::{CoreStage, Plugin}; use bevy_asset::{Assets, Handle}; use bevy_ecs::prelude::*; +use bevy_math::Vec3A; use bevy_reflect::Reflect; use bevy_transform::components::GlobalTransform; use bevy_transform::TransformSystem; @@ -157,7 +154,7 @@ pub fn check_visibility( visible_entities.entities.clear(); let view_mask = maybe_view_mask.copied().unwrap_or_default(); - let (visible_entity_sender, visible_entity_receiver) = unbounded(); + let (visible_entity_sender, visible_entity_receiver) = crossbeam_channel::unbounded(); visible_entity_query.par_for_each_mut( &thread_pool,