From ec418aa429142972032f56a43ab963bd3be766d4 Mon Sep 17 00:00:00 2001 From: stinkytoe Date: Sat, 4 May 2024 08:13:49 -0500 Subject: [PATCH] Re-export IntoDynamicImageError as public (#13223) # Objective in response to [13222](https://github.com/bevyengine/bevy/issues/13222) ## Solution The Image trait was already re-exported in bevy_render/src/lib.rs, So I added it inline there. ## Testing Confirmed that it does compile. Simple change, shouldn't cause any bugs/regressions. --- crates/bevy_render/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/src/lib.rs b/crates/bevy_render/src/lib.rs index 5dd28d4596..108adbabb9 100644 --- a/crates/bevy_render/src/lib.rs +++ b/crates/bevy_render/src/lib.rs @@ -46,7 +46,7 @@ pub mod prelude { mesh::{morph::MorphWeights, primitives::Meshable, Mesh}, render_resource::Shader, spatial_bundle::SpatialBundle, - texture::{Image, ImagePlugin}, + texture::{image_texture_conversion::IntoDynamicImageError, Image, ImagePlugin}, view::{InheritedVisibility, Msaa, ViewVisibility, Visibility, VisibilityBundle}, ExtractSchedule, };