Skip to content

Commit

Permalink
Fix glTF loading in puffs example
Browse files Browse the repository at this point in the history
  • Loading branch information
djeedai committed Nov 4, 2024
1 parent a2e932c commit b0aeabc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ bevy_egui = { version = "0.28", default-features = false, features = [
"manage_clipboard", "open_url"
] }
egui = "0.28"

# For glTF animations (Fox.glb)
bevy_gltf = { version = "0.14", features = [ "bevy_animation" ] }

# For procedural texture generation in examples
Expand Down Expand Up @@ -167,9 +169,9 @@ required-features = [
"bevy/bevy_winit",
"bevy/bevy_pbr",
"bevy/bevy_scene",
"bevy/bevy_gltf",
"bevy/bevy_animation",
"bevy/png",
"bevy_gltf/bevy_animation",
"3d",
]

Expand Down
1 change: 1 addition & 0 deletions run_examples.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ cargo r --example circle --no-default-features --features="bevy/bevy_winit bevy/
cargo r --example billboard --no-default-features --features="bevy/bevy_winit bevy/bevy_pbr bevy/png 3d examples_world_inspector"
cargo r --example worms --no-default-features --features="bevy/bevy_winit bevy/bevy_pbr bevy/png 3d examples_world_inspector"
cargo r --example instancing --no-default-features --features="bevy/bevy_winit bevy/bevy_pbr bevy/png 3d examples_world_inspector"
cargo r --example puffs --no-default-features --features="bevy/bevy_winit bevy/bevy_pbr bevy/bevy_scene bevy/bevy_gltf bevy/bevy_animation bevy/png 3d"
REM 2D
cargo r --example 2d --no-default-features --features="bevy/bevy_winit bevy/bevy_sprite 2d examples_world_inspector"
1 change: 1 addition & 0 deletions run_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ cargo r --example circle --no-default-features --features="bevy/bevy_winit bevy/
cargo r --example billboard --no-default-features --features="bevy/bevy_winit bevy/bevy_pbr bevy/png 3d examples_world_inspector"
cargo r --example worms --no-default-features --features="bevy/bevy_winit bevy/bevy_pbr bevy/png 3d examples_world_inspector"
cargo r --example instancing --no-default-features --features="bevy/bevy_winit bevy/bevy_pbr bevy/png 3d examples_world_inspector"
cargo r --example puffs --no-default-features --features="bevy/bevy_winit bevy/bevy_pbr bevy/bevy_scene bevy/bevy_gltf bevy/bevy_animation bevy/png 3d"
# 2D
cargo r --example 2d --no-default-features --features="bevy/bevy_winit bevy/bevy_sprite 2d examples_world_inspector"

0 comments on commit b0aeabc

Please sign in to comment.