mirror of https://github.com/axmolengine/axmol.git
fixed armature blend func has no effect
This commit is contained in:
parent
aa7e48794b
commit
1a9e42ef85
|
@ -408,6 +408,10 @@ void Armature::draw(cocos2d::Renderer *renderer, const Mat4 &transform, uint32_t
|
|||
{
|
||||
skin->setBlendFunc(bone->getBlendFunc());
|
||||
}
|
||||
else
|
||||
{
|
||||
skin->setBlendFunc(_blendFunc);
|
||||
}
|
||||
skin->draw(renderer, transform, flags);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue