Move features needed for animated_fox exameple into baseline dev deps.

This commit is contained in:
Robin KAY 2023-03-17 22:28:08 +00:00
parent fc74926073
commit cf7358cc44
2 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,11 @@ thiserror = "1.0"
[dev-dependencies]
bevy = { version = "0.10", default-features = false, features = [
"animation",
"bevy_gltf",
"bevy_scene",
"bevy_winit",
"png",
"x11",
] }
@ -46,6 +50,3 @@ path = "examples/render_layers.rs"
[[example]]
name = "animated_fox"
path = "examples/animated_fox.rs"
required-features = [
"bevy/animation", "bevy/bevy_gltf", "bevy/png", "bevy/bevy_scene"
]

View File

@ -40,8 +40,7 @@ cargo run --example render_layers
An animated jointed model with an outline.
```shell
cargo run --features="bevy/animation bevy/bevy_gltf bevy/png bevy/bevy_scene" \
--example animated_fox
cargo run --example animated_fox
```
## Versions