fixed armature blend func has no effect

This commit is contained in:
2youyou2 2014-06-30 10:11:43 +08:00
parent aa7e48794b
commit 1a9e42ef85
1 changed files with 4 additions and 0 deletions

View File

@ -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;