Fixed SkeletonAnimation timeScale.

This commit is contained in:
NathanSweet 2013-11-30 15:55:13 +01:00
parent 5b53c28ef7
commit 9bc138716c

View File

@ -45,7 +45,7 @@ public class SkeletonAnimation extends SkeletonSprite {
}
override public function advanceTime (time:Number) : void {
state.update(time);
state.update(time * timeScale);
state.apply(skeleton);
skeleton.updateWorldTransform();
super.advanceTime(time);