Skip to content

Commit

Permalink
Replace import with qualified path for unbounded channel
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Swain <robert.swain@gmail.com>
  • Loading branch information
aevyrie and superdump committed Apr 17, 2022
1 parent a479b1c commit ce5e10d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/bevy_render/src/view/visibility/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ce5e10d

Please sign in to comment.