Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dist/preview release/what's new.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@
- Fix the `StandardMaterial` not using the tangent attribute when available ([Popov72](https://github.com/Popov72))
- Fix code for handling getting DeviceType/DeviceSlot in DeviceInputSystem to work better with MouseEvents ([PolygonalSun](https://github.com/PolygonalSun))
- Fix vector2/3/4 and quaternion toString formatting ([rgerd](https://github.com/rgerd))
- Fix non initialized matrix when setting orientation for bones ([CedricGuillemet](https://github.com/CedricGuillemet))
- Fix cloning skeleton when mesh is an instanced mesh ([Popov72](https://github.com/Popov72))
- Fix a bug where pointer up/move events were not sent to 3D controls when no mesh in the `UtilityLayerRenderer` is hit by the picking ray. ([CraigFeldspar](https://github.com/CraigFeldspar))
- Fix issue with DeviceInputSystem where Mouse was being deregistered on Safari/MacOS ([PolygonalSun](https://github.com/PolygonalSun))
Expand Down
2 changes: 2 additions & 0 deletions src/Bones/bone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,8 @@ export class Bone extends Node {
if (tNode) {
rotMatInv.multiplyToRef(tNode.getWorldMatrix(), rotMatInv);
Matrix.ScalingToRef(tNode.scaling.x, tNode.scaling.y, tNode.scaling.z, scaleMatrix);
} else {
Matrix.IdentityToRef(scaleMatrix);
}

rotMatInv.invert();
Expand Down