From b273b13519b6ed00d9e47640a0ce3671a4d1625a Mon Sep 17 00:00:00 2001 From: Niklas Eicker Date: Sun, 1 Dec 2024 20:41:03 +0100 Subject: [PATCH] Enable bevy/png for 2d and 3d features --- bevy_asset_loader/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bevy_asset_loader/Cargo.toml b/bevy_asset_loader/Cargo.toml index 2de0cb3..83dddd2 100644 --- a/bevy_asset_loader/Cargo.toml +++ b/bevy_asset_loader/Cargo.toml @@ -15,9 +15,9 @@ readme = "README.md" [features] # This feature adds support for bevy's TextureAtlas assets -2d = ["bevy/bevy_sprite", "bevy_asset_loader_derive/2d"] +2d = ["bevy/bevy_sprite", "bevy/png", "bevy_asset_loader_derive/2d"] # This feature adds support for bevy's StandardMaterial assets -3d = ["bevy/bevy_pbr", "bevy_asset_loader_derive/3d"] +3d = ["bevy/bevy_pbr", "bevy/png", "bevy_asset_loader_derive/3d"] standard_dynamic_assets = ["dep:bevy_common_assets", "dep:serde"] progress_tracking = ["dep:iyes_progress"]