diff options
Diffstat (limited to 'world')
-rw-r--r-- | world/src/mesh.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/world/src/mesh.rs b/world/src/mesh.rs index 16c2ce7..de4617f 100644 --- a/world/src/mesh.rs +++ b/world/src/mesh.rs @@ -357,6 +357,7 @@ pub fn node_transform_to_affine(node: &Node, args: &Args) -> Affine3A { [mat[3][0], mat[3][1], mat[3][2]], ]); aff.matrix3 *= args.scale.unwrap_or(1.); + aff.translation *= args.scale.unwrap_or(1.); if args.z_up { let r = Mat3A::from_rotation_x(PI / 2.); aff.matrix3 *= r; |