prop mesh name

This commit is contained in:
Robin Appelman 2023-12-15 23:01:52 +01:00
commit 1bb1573e8e
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View file

@ -2695,7 +2695,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
[[package]]
name = "vmdl"
version = "0.1.0"
source = "git+https://github.com/icewind1991/vmdl#8039f921da612b02b91668be38774abd8b59d04e"
source = "git+https://github.com/icewind1991/vmdl#ab311b7f60bb0b9b7bd1c5e5bc4939446c3b8f8f"
dependencies = [
"arrayvec",
"bitflags 1.3.2",

View file

@ -105,7 +105,7 @@ fn prop_to_meshes<'a>(prop: &'a PropData) -> impl Iterator<Item = Primitive> + '
});
Primitive {
name: "".to_string(),
name: mesh.model_name.into(),
transformation: transform,
animations: vec![],
geometry,