Merge pull request #2302 from pandamicro/next

Fix spien timescale
This commit is contained in:
pandamicro
2018-02-01 18:11:06 +08:00
committed by GitHub
2 changed files with 1 additions and 2 deletions
@@ -282,7 +282,7 @@ var spineAssembler = js.addon({
skeleton.update(dt);
if (state) {
dt *= comp._timeScale;
dt *= comp.timeScale;
state.update(dt);
state.apply(skeleton);
}
-1
View File
@@ -329,7 +329,6 @@ sp.Skeleton = cc.Class({
ctor () {
this._skeleton = null;
this._rootBone = null;
this._timeScale = 1.0;
this._listener = null;
this._boundingBox = cc.rect();
this._material = new SpriteMaterial();