Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Feb 23, 2024
1 parent f7a63a2 commit f49b973
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bevy_gltf_kun/src/import/gltf/material.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn import_material<E: BevyImportExtensions<GltfDocument>>(
// TODO: Handle scale inversion
let is_scale_inverted = false;

let handle = context
context
.load_context
.labeled_asset_scope(label, |load_context| {
let alpha_mode = match &weight.alpha_mode {
Expand Down Expand Up @@ -95,9 +95,7 @@ pub fn import_material<E: BevyImportExtensions<GltfDocument>>(
perceptual_roughness: weight.roughness_factor,
..default()
}
});

handle
})
}

fn texture_handle(
Expand Down

0 comments on commit f49b973

Please sign in to comment.