Skip to content

Commit

Permalink
Cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Feb 3, 2024
1 parent 3c0fcfe commit 6c5f92a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions bevy_nannou/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ fn startup(mut commands: Commands, assets: Res<AssetServer>, mut meshes: ResMut<
commands.spawn(
(Camera3dBundle {
camera_3d: Camera3d {
// TODO: we should manage this in the nannou plugin as function of backgrond color
clear_color: ClearColorConfig::None,
..Default::default()
},
Expand Down
4 changes: 2 additions & 2 deletions bevy_nannou_render/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Plugin for NannouRenderPlugin {
(
prepare_default_texture_bind_group.in_set(RenderSet::PrepareBindGroups),
prepare_texture_bind_groups.in_set(RenderSet::PrepareBindGroups),
prepare_view_mesh.after(prepare_default_texture_bind_group),
prepare_view_mesh.after(prepare_default_texture_bind_group).in_set(RenderSet::Prepare),
prepare_view_uniform.in_set(RenderSet::PrepareBindGroups),
),
)
Expand Down Expand Up @@ -477,4 +477,4 @@ pub enum RenderCommand {
}

#[derive(Component, Deref, DerefMut, Default)]
pub struct ViewRenderCommands(Vec<RenderCommand>);
pub struct ViewRenderCommands(Vec<RenderCommand>);

0 comments on commit 6c5f92a

Please sign in to comment.