From ebf2520c5d9ac75f9a71ed0fc361eb9a15030a6f Mon Sep 17 00:00:00 2001 From: Nathan Sweet Date: Mon, 19 Jun 2023 14:44:01 -0400 Subject: [PATCH] [ts] Fixed the setup pose not showing when no animation is specified. `updateWorldTransform` doesn't get called when paused. --- spine-ts/spine-player/src/Player.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/spine-ts/spine-player/src/Player.ts b/spine-ts/spine-player/src/Player.ts index 62d99cfed..bfb534764 100644 --- a/spine-ts/spine-player/src/Player.ts +++ b/spine-ts/spine-player/src/Player.ts @@ -542,6 +542,7 @@ export class SpinePlayer implements Disposable { } else { entry = this.animationState.setEmptyAnimation(0); entry.trackEnd = 100000000; + this.skeleton.updateWorldTransform(); this.setViewport(entry.animation!); this.pause(); }