mirror of
https://codeberg.org/icewind/vbsp-to-gltf.git
synced 2026-06-03 10:14:08 +02:00
node name
This commit is contained in:
parent
cbccb8ae3d
commit
5024b166ff
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ pub fn push_bsp_model(
|
|||
extras: Default::default(),
|
||||
matrix: None,
|
||||
mesh: Some(Index::new(mesh_index)),
|
||||
name: None,
|
||||
name: Some("bsp".into()),
|
||||
rotation: None,
|
||||
scale: None,
|
||||
translation: Some(map_coords(offset)),
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ fn export(bsp: Bsp, loader: &Loader) -> Result<Glb<'static>, Error> {
|
|||
matrix.w.z, matrix.w.w,
|
||||
]),
|
||||
mesh: Some(mesh),
|
||||
name: None,
|
||||
name: Some(prop.model().into()),
|
||||
rotation: None,
|
||||
scale: None,
|
||||
translation: None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue