Commit df41b208 authored by asdf's avatar asdf

骨骼动画预乘,去除黑边

parent f5032c6a
......@@ -180,7 +180,7 @@
"array": [
0,
0,
244.2191638672117,
591.6252757385377,
0,
0,
0,
......
......@@ -106,6 +106,8 @@ cc.Class({
this.dragonBone.armatureName = data.name;
this.animationName = data.animation[0].name;
this.dragonBone.animationName = this.animationName;
this.dragonBone.premultipliedAlpha = true;
atlas.texture.setPremultiplyAlpha(true);
this.setSpineScale(data.canvas);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment