diff --git a/crates/bevy_gltf/src/loader.rs b/crates/bevy_gltf/src/loader.rs index 471ce6a0084f8..9fba1e890a446 100644 --- a/crates/bevy_gltf/src/loader.rs +++ b/crates/bevy_gltf/src/loader.rs @@ -298,8 +298,8 @@ fn load_material(material: &Material, load_context: &mut LoadContext) -> Handle< LoadedAsset::new(StandardMaterial { albedo: Color::rgba(color[0], color[1], color[2], color[3]), albedo_texture: texture_handle, - shaded: !material.unlit() - }) + shaded: !material.unlit(), + }) .with_dependencies(dependencies), ) }