Skip to content

Commit

Permalink
fix-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
naomijub committed Dec 6, 2023
1 parent 95610a4 commit c76cf66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sheep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ pub fn setup(
mut meshes: ResMut<Assets<Mesh>>,
mut materials: ResMut<Assets<StandardMaterial>>,
asset_server: Res<AssetServer>,
mut sprite_material: ResMut<Assets<ExtendedMaterial<StandardMaterial, SpriteExtension>>>,
// mut _sprite_material: ResMut<Assets<ExtendedMaterial<StandardMaterial, SpriteExtension>>>,
) {
let square = meshes.add(create_plane_mesh());
let sheep_texture: Handle<Image> = asset_server.load(SHEEP_PATH);

let _sheep_material = materials.add(StandardMaterial {
let sheep_material = materials.add(StandardMaterial {
base_color_texture: Some(sheep_texture.clone()),
alpha_mode: AlphaMode::Blend,
..default()
Expand Down

0 comments on commit c76cf66

Please sign in to comment.