Reverted this commit (be305f84b6) since i didn't find the crash.

This commit is contained in:
James Chen 2013-01-25 20:59:58 +08:00
parent 6f3b22031f
commit a1574fe9f6
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ bool CCParticleSystem::initWithDictionary(CCDictionary *dictionary, const char *
// set not pop-up message box when load image failed
bool bNotify = CCFileUtils::sharedFileUtils()->isPopupNotify();
CCFileUtils::sharedFileUtils()->setPopupNotify(false);
tex = CCTextureCache::sharedTextureCache()->textureForKey(textureName.c_str());
tex = CCTextureCache::sharedTextureCache()->addImage(textureName.c_str());
// reset the value of UIImage notify
CCFileUtils::sharedFileUtils()->setPopupNotify(bNotify);
}