We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Set particle visible to false then set to true cause crashes.
Set particle visible to false then set to true cause crashes.
Bug #4573 [Closed]
Add these code to any Particle Demo:
schedule(schedule_selector(DemoFlower::test), 2.0f);
void DemoFlower::test(float delta)
{
_emitter->setVisible(!_emitter->isVisible());
}
Crash at ParticleSystemQuad::draw:
CCASSERT( _particleIdx == _particleCount, "Abnormal error in particle quad");