Skip to content

Commit

Permalink
Update gltf crates
Browse files Browse the repository at this point in the history
  • Loading branch information
PikminGuts92 committed Oct 23, 2023
1 parent 82700ff commit 2fb03a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ edition = "2021"

[workspace.dependencies]
clap = { version = "4.4.6", features = ["derive"] }
gltf = { version = "=1.2.0", features = [ "extras", "import", "names" ] }
gltf-json = { version = "=1.2.0", features = [ "names" ] }
gltf = { version = "=1.3.0", features = [ "extras", "import", "names" ] }
gltf-json = { version = "=1.3.0", features = [ "names" ] }
grim = { path = "core/grim" }
itertools = "0.11.0"
lazy_static = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion core/grim_gltf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl AccessorBuilder {
// Create accessor
let accessor = json::Accessor {
buffer_view: Some(json::Index::new(buff_idx as u32)),
byte_offset: buff_off as u32,
byte_offset: Some(buff_off as u32),
count: count as u32,
component_type: json::validation::Checked::Valid(json::accessor::GenericComponentType(comp_type)),
extensions: None,
Expand Down

0 comments on commit 2fb03a2

Please sign in to comment.