Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
miseyu committed Dec 5, 2024
1 parent fdbe0c4 commit 4e6153f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion engine/runtime/gltf/src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ impl<'a> MetadataEncoder<'a> {
attributes: &HashMap<String, AttributeValue>,
) -> crate::errors::Result<usize> {
let Some(TypeDef::Feature(feature_def)) = self.original_schema.types.get(typename) else {
return Err(crate::errors::Error::metadata(format!("Feature type not found: {}", typename)));
return Err(crate::errors::Error::metadata(format!(
"Feature type not found: {}",
typename
)));
};

let typename = typename.replace(':', "_");
Expand Down

0 comments on commit 4e6153f

Please sign in to comment.