mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-01 13:19:08 +08:00
Fixed raptor demo desync with frame-by-frame after playing animation.
This commit is contained in:
parent
0e9b434385
commit
43e1c6b708
@ -143,7 +143,7 @@ var spritesheetsDemo = function(loadingComplete, bgColor) {
|
|||||||
|
|
||||||
animationState.update(delta);
|
animationState.update(delta);
|
||||||
var current = animationState.getCurrent(0);
|
var current = animationState.getCurrent(0);
|
||||||
if (current.animation.name == "walk") current.time = walkLastTimePrecise;
|
if (current.animation.name == "walk") current.trackTime = walkLastTimePrecise;
|
||||||
animationState.apply(skeleton);
|
animationState.apply(skeleton);
|
||||||
skeleton.updateWorldTransform();
|
skeleton.updateWorldTransform();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user