Projects > cpp > Issues > Bug #1582

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

Create Issue on Github

A logic bug in CCBAnimationManager::setAnimatedProperty.

Bug #1582 [Closed]
dumganhar 2012-11-29 03:06 . Updated about 11 years ago
            else if (strcmp(pPropName, "visible") == 0)
            {
                bool x = (NULL == pValue) ? false : true;
                if(x) {
                    CCSequence::createWithTwoActions(CCDelayTime::create(fTweenDuration), CCShow::create());
                } else {
                    CCSequence::createWithTwoActions(CCDelayTime::create(fTweenDuration), CCHide::create());
                }
            }

to

            else if (strcmp(pPropName, "visible") == 0)
            {
                pNode->setVisible(NULL != pValue);
            }
dumganhar 2012-11-29 04:06
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:28901bb309b4753cc260e8cae0ca98ba273358c9.

Atom PDF

Status:Closed
Start date:2012-11-29
Priority:Normal
Due date:
Assignee:-
% Done:

100%

Category:-
Target version:-