From c8dd33fbd8bd337f7257325be39fd847d1469444 Mon Sep 17 00:00:00 2001 From: Tethys Svensson Date: Thu, 21 Apr 2022 14:58:58 +0200 Subject: [PATCH] Make the fields of the Material2dKey public --- crates/bevy_sprite/src/mesh2d/material.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_sprite/src/mesh2d/material.rs b/crates/bevy_sprite/src/mesh2d/material.rs index 9ed1ce540757b..5cb4869104136 100644 --- a/crates/bevy_sprite/src/mesh2d/material.rs +++ b/crates/bevy_sprite/src/mesh2d/material.rs @@ -216,8 +216,8 @@ pub struct Material2dPipeline { #[derive(Eq, PartialEq, Clone, Hash)] pub struct Material2dKey { - mesh_key: Mesh2dPipelineKey, - material_key: T, + pub mesh_key: Mesh2dPipelineKey, + pub material_key: T, } impl SpecializedMeshPipeline for Material2dPipeline {