Projects > cpp > Issues > Bug #1664

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Logical error in CCAtlasNode::setOpacityModifyRGB.

Bug #1664 [Closed]
dumganhar 2013-01-17 09:57 . Updated almost 4 years ago
void CCAtlasNode::setOpacityModifyRGB(bool bValue)
{
    ccColor3B oldColor    = this->m_tColor;
    m_bIsOpacityModifyRGB = bValue;
    this->m_tColor        = oldColor;
}

—>

void CCAtlasNode::setOpacityModifyRGB(bool bValue)
{
    ccColor3B oldColor    = this->getColor();
    m_bIsOpacityModifyRGB = bValue;
    this->setColor(oldColor);
}
zhangxm 2013-01-18 09:43
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:2a74bb791750608026e1350fe0ab20b90f44a5d7.

Atom PDF

Status:Closed
Start date:2013-01-17
Priority:Normal
Due date:
Assignee:dumganhar
% Done:

100%

Category:all
Target version:cocos2d-2.1beta3-x-2.1.1

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.