|
@@ -175,7 +175,7 @@ module spine {
|
|
}
|
|
}
|
|
|
|
|
|
var animationState = this.state = new spine.AnimationState(new spine.AnimationStateData(skeleton.data));
|
|
var animationState = this.state = new spine.AnimationState(new spine.AnimationStateData(skeleton.data));
|
|
- animationState.setAnimation(0, config.animation, true);
|
|
|
|
|
|
+ animationState.setAnimation(0, config.animation, config.loop);
|
|
if (config.success) config.success(this);
|
|
if (config.success) config.success(this);
|
|
this.loaded = true;
|
|
this.loaded = true;
|
|
requestAnimationFrame(() => { this.render(); });
|
|
requestAnimationFrame(() => { this.render(); });
|