mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ts] Fixed the setup pose not showing when no animation is specified.
`updateWorldTransform` doesn't get called when paused.
This commit is contained in:
parent
3c2033b250
commit
ebf2520c5d
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user