mirror of https://github.com/axmolengine/axmol.git
fixed cannot set blendfunc to Armature
This commit is contained in:
parent
6fe58b4153
commit
5aae024a7b
|
@ -404,7 +404,7 @@ void Armature::draw(cocos2d::Renderer *renderer, const Mat4 &transform, uint32_t
|
|||
|
||||
BlendFunc func = bone->getBlendFunc();
|
||||
|
||||
if (func.src != _blendFunc.src || func.dst != _blendFunc.dst)
|
||||
if (func.src != BlendFunc::ALPHA_NON_PREMULTIPLIED.src || func.dst != BlendFunc::ALPHA_NON_PREMULTIPLIED.dst)
|
||||
{
|
||||
skin->setBlendFunc(bone->getBlendFunc());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue