We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Try this code, you will reproduce the bug
groupCommand->init(_globalZorder); renderer->addCommand(&groupCommand); renderer->pushGroup(_groupCommand.getRenderQueueID()); //the following code is to add a quadCommand into the renderer sprite->draw(renderer, _modelViewTransform, dirty); renderer->popGroup();
in the final renderer, the sprite is not visible. and debug the code, we find a bug in the renderer, that if the renderQueue has only one command, it's execute will be ignored.
- Assignee set to email@example.com
- Assignee changed from firstname.lastname@example.org to dabingnn
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset commit:86c279b8a917ed7e40e317c4cfe8083373f2c332.