fixed set blend func

This commit is contained in:
yinkaile 2014-04-03 10:34:20 +08:00
parent f998ea058a
commit 7177866331
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ void Bone::applyParentTransform(Bone *parent)
void CCBone::setBlendFunc(const BlendFunc& blendFunc)
{
if (_blendFunc.src != blendFunc.src && _blendFunc.dst != blendFunc.dst)
if (_blendFunc.src != blendFunc.src || _blendFunc.dst != blendFunc.dst)
{
_blendFunc = blendFunc;
_blendDirty = true;