diff --git a/Cargo.toml b/Cargo.toml index aca2c2c..f782e33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "trve_bevy_image" -version = "0.2.0" +version = "0.3.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy = { version = "0.13", default-features = false, features = [ +bevy = { version = "0.14", default-features = false, features = [ "bevy_asset", "bevy_render", ] } diff --git a/README.md b/README.md index 7e37c02..47ad46b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ trve_bevy_image = { git = "https://github.com/mnmaita/trve_bevy_image" } Remember you can also target tags, commits and branches with this method: ```toml -trve_bevy_image = { git = "https://github.com/mnmaita/trve_bevy_image", tag = "v0.2.0" } +trve_bevy_image = { git = "https://github.com/mnmaita/trve_bevy_image", tag = "v0.3.0" } ``` ```toml @@ -64,5 +64,6 @@ If you insert this Resource, `ImageAssetFolder` will be ignored and the plugin w |trve_bevy_image|bevy| |---|---| +|0.3|0.14| |0.2|0.13| |0.1|0.12| diff --git a/src/plugin.rs b/src/plugin.rs index 9c11f61..60c25c4 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -125,7 +125,7 @@ fn update_image_assets_load_state( } } else if let Some(image_folder_handle) = image_folder_handle { *textures_load_state = asset_server - .recursive_dependency_load_state(image_folder_handle.clone()) + .recursive_dependency_load_state(&image_folder_handle.0) .into() } }