Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/DragonBones/DragonBonesJS in…
Browse files Browse the repository at this point in the history
…to dev
  • Loading branch information
akdcl committed Jun 20, 2018
2 parents 84fc000 + d7fb049 commit 6b4692e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DragonBones/src/dragonBones/animation/AnimationState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ namespace dragonBones {

case TimelineType.SlotZIndex: {
const timeline = BaseObject.borrowObject(SlotZIndexTimelineState);
timeline.target = this._armature.animation.getBlendState(BlendState.SLOT_ALPHA, slot.name, slot);
timeline.target = this._armature.animation.getBlendState(BlendState.SLOT_Z_INDEX, slot.name, slot);
timeline.init(this._armature, this, timelineData);
this._slotBlendTimelines.push(timeline);
break;
Expand Down Expand Up @@ -1543,7 +1543,7 @@ namespace dragonBones {
this.layer = animationLayer;
this.leftWeight = 0.0;
this.blendWeight = 0.0;

return false;
}

Expand Down
2 changes: 1 addition & 1 deletion DragonBones/src/dragonBones/core/DragonBones.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ namespace dragonBones {
BoneTranslate = 11,
BoneRotate = 12,
BoneScale = 13,
BoneAlpha = 19,

Surface = 50,
BoneAlpha = 60,

SlotDisplay = 20,
SlotColor = 21,
Expand Down

0 comments on commit 6b4692e

Please sign in to comment.