Skip to content

Commit

Permalink
Fix merge problems
Browse files Browse the repository at this point in the history
  • Loading branch information
DotWith committed Aug 18, 2024
1 parent 733d90d commit 02193e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bevy_b3d/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use bevy::{
render::{
mesh::Indices,
render_asset::RenderAssetUsages,
render_asset::RenderAssetUsages,
render_resource::PrimitiveTopology,
renderer::RenderDevice,
texture::{CompressedImageFormats, ImageSampler, ImageType, TextureError},
Expand Down Expand Up @@ -203,10 +202,6 @@ fn load_mesh(b3d_mesh: &b3d::Mesh, index: u32) -> Result<(Mesh, String), B3DErro
PrimitiveTopology::TriangleList,
RenderAssetUsages::default(),
);
let mut mesh = Mesh::new(
PrimitiveTopology::TriangleList,
RenderAssetUsages::default(),
);

if let Some(vertex_attribute) = b3d_mesh
.vertices
Expand Down Expand Up @@ -250,7 +245,6 @@ fn load_mesh(b3d_mesh: &b3d::Mesh, index: u32) -> Result<(Mesh, String), B3DErro
.into()
{
mesh.insert_indices(Indices::U32(vertex_attribute));
mesh.insert_indices(Indices::U32(vertex_attribute));
}

if let Err(err) = mesh.generate_tangents() {
Expand Down

0 comments on commit 02193e0

Please sign in to comment.