Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlendMode not work with DragonBones 2.4.1 #39

Closed
lizistorm opened this issue Feb 27, 2014 · 1 comment
Closed

BlendMode not work with DragonBones 2.4.1 #39

lizistorm opened this issue Feb 27, 2014 · 1 comment
Assignees

Comments

@lizistorm
Copy link

Set armature.display.blendMode to any mode like BlendMode.SCREEN not work when using 2.4.1

Solution is here:

In DragonBones 2.4.1 XMLDataParser.as(line 178) and ObjectDataParser.as(line 147):

Change
slotData.blendMode = "normal";
to
slotData.blendMode = "auto";

Because "auto" mode inherits the blend mode from parent while "normal" mode not.

@akdcl
Copy link
Member

akdcl commented Mar 18, 2015

the bug has been fixed.

@akdcl akdcl closed this as completed Mar 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants