Skip to content

Commit

Permalink
Add bevy_scene as a dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Utsira committed Oct 15, 2024
1 parent 008f176 commit 15956f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ required-features = ["generate_voxels"]
[dependencies]
bevy = { version = "0.14.0", default-features = false, features = [
"bevy_render",
"bevy_scene",
"bevy_asset",
"bevy_pbr",
"pbr_transmission_textures",
Expand Down
4 changes: 2 additions & 2 deletions src/load/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl VoxSceneLoader {
fn process_vox_file<'a>(
&self,
bytes: &'a [u8],
mut load_context: &'a mut LoadContext,
load_context: &'a mut LoadContext,
settings: &'a VoxLoaderSettings,
) -> Result<Scene, VoxLoaderError> {
let file = match dot_vox::load_bytes(bytes) {
Expand Down Expand Up @@ -161,7 +161,7 @@ impl VoxSceneLoader {
let mut model_names: Vec<Option<String>> = vec![None; model_count];
find_model_names(&mut model_names, &file.scenes, &file.scenes[0], None);
let scene = parse_scene_graph(
&mut load_context,
load_context,
&file.scenes,
&file.scenes[0],
None,
Expand Down

0 comments on commit 15956f4

Please sign in to comment.