Skip to content

Commit

Permalink
Merge pull request #8 from pixiv/fix/rename-material-color-type-as-type
Browse files Browse the repository at this point in the history
fix: rename MaterialColorType as type
  • Loading branch information
yue4u authored Jan 20, 2025
2 parents 983fa3d + 95f2b3a commit 2981570
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/vrm-spec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "vrm-spec"
readme = "README.md"
repository = "https://github.com/pixiv/vrm-utils-rs/tree/main/crates/vrm-spec"
rust-version.workspace = true
version = "0.0.3"
version = "0.0.4"

[dependencies]
gltf = {workspace = true, features = ["utils", "extensions"], optional = true}
Expand Down
2 changes: 1 addition & 1 deletion crates/vrm-spec/src/serde_utils.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// This mod handles common issues when using VRMs.
//! This mod handles common issues when using VRMs.
#[cfg(feature = "rustc_hash")]
use rustc_hash::FxHashMap as HashMap;
Expand Down
2 changes: 1 addition & 1 deletion crates/vrm-spec/src/vrmc_vrm_1_0/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub struct MaterialColorBind {
/// target color
pub target_value: Vec<f64>,

pub material_color_bind_type: MaterialColorType,
pub r#type: MaterialColorType,
}

/// Morph target value associated with a expression
Expand Down

0 comments on commit 2981570

Please sign in to comment.