Spaces:
Runtime error
Runtime error
Update src/pose.py
Browse files- 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 |
-
|
|
|
|
| 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 |
|