mirror of
https://github.com/bevyengine/bevy
synced 2024-11-13 00:17:27 +00:00
5fcbdc137a
# Objective `bevy_gltf` have an instance where `use bevy_animation` is not behind `#[cfg(feature = "bevy_animation")]`. This resulted in a compile error when the feature is not enabled: `failed to resolve: use of undeclared crate or module 'bevy_animation'`. ## Solution move this instance of `use bevy_animation` behind the `cfg` attribute. ## Testing I no longer get the error when compiling without the feature. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |