mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +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);
|
||||
var current = animationState.getCurrent(0);
|
||||
if (current.animation.name == "walk") current.time = walkLastTimePrecise;
|
||||
if (current.animation.name == "walk") current.trackTime = walkLastTimePrecise;
|
||||
animationState.apply(skeleton);
|
||||
skeleton.updateWorldTransform();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user