Projects > cpp > Issues > Bug #644

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

Create Issue on Github

CCSpriteBatchNode::removeAllChildrenWithCleanup() not work as expected

Bug #644 [Closed] 2011-07-31 18:40 . Updated over 6 years ago

In this situation:

CCSpriteBatchNode *batchNode = CCSpriteBatchNode::nodeWithZZZ...
CCSprite *spriteA = CCSprite::initWithXXX...
CCSprite *spriteB = CCSprite::initWithYYY...

batchNode->addChild(spriteA); // after addChild, both spriteA and spriteB's m_bUseBatchNode is true

 // after this code, m_bUseBatchNode of spriteA & spriteB should be false. But spriteB is not

Feedback from forum: 2011-07-31 21:12
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:e4ea2b80beeb1e84f1ae90c5578db035d6f304e1. 2011-07-31 21:12

Applied in changeset commit:10146060b294dbd7971b1683500cdde8ea548b8c. 2011-08-01 23:12
  • Status changed from Resolved to Closed 2012-05-25 08:06
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.1-x-0.9.1)

Atom PDF

Start date:2011-07-31
Due date:
% Done:


Target version:-

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