Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
upgrade spine
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodBoyDigital committed Jun 6, 2024
1 parent 0eede71 commit 08363f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"watch": "xs watch"
},
"dependencies": {
"@esotericsoftware/spine-core": "~4.1.50"
"@esotericsoftware/spine-core": "^4.2.45"
},
"devDependencies": {
"@pixi/extension-scripts": "^2.4.1",
Expand Down
3 changes: 2 additions & 1 deletion src/Spine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import {
ClippingAttachment,
Color,
MeshAttachment,
Physics,
RegionAttachment,
Skeleton,
SkeletonBinary,
Expand Down Expand Up @@ -328,7 +329,7 @@ export class Spine extends Container implements View

this.state.apply(skeleton);

skeleton.updateWorldTransform();
skeleton.updateWorldTransform(Physics.update);

this.validateAttachments();

Expand Down

0 comments on commit 08363f8

Please sign in to comment.