kbrodt commited on
Commit
62e0d16
1 Parent(s): 0acdc60

Update src/pose.py

Browse files
Files changed (1) hide show
  1. src/pose.py +2 -1
src/pose.py CHANGED
@@ -1092,7 +1092,8 @@ def save_mesh(
1092
  )
1093
  rot = trimesh.transformations.rotation_matrix(np.pi, [1, 0, 0])
1094
  mesh.apply_transform(rot)
1095
- mesh.export(save_path / f"{fname}.obj")
 
1096
  mesh.export(save_path / f"{fname}.glb")
1097
 
1098
 
 
1092
  )
1093
  rot = trimesh.transformations.rotation_matrix(np.pi, [1, 0, 0])
1094
  mesh.apply_transform(rot)
1095
+ rot = trimesh.transformations.rotation_matrix(np.pi, [0, 0, 1])
1096
+ mesh.apply_transform(rot)
1097
  mesh.export(save_path / f"{fname}.glb")
1098
 
1099