mirror of https://github.com/axmolengine/axmol.git
Reverted this commit (be305f84b6
) since i didn't find the crash.
This commit is contained in:
parent
6f3b22031f
commit
a1574fe9f6
|
@ -338,7 +338,7 @@ bool CCParticleSystem::initWithDictionary(CCDictionary *dictionary, const char *
|
||||||
// set not pop-up message box when load image failed
|
// set not pop-up message box when load image failed
|
||||||
bool bNotify = CCFileUtils::sharedFileUtils()->isPopupNotify();
|
bool bNotify = CCFileUtils::sharedFileUtils()->isPopupNotify();
|
||||||
CCFileUtils::sharedFileUtils()->setPopupNotify(false);
|
CCFileUtils::sharedFileUtils()->setPopupNotify(false);
|
||||||
tex = CCTextureCache::sharedTextureCache()->textureForKey(textureName.c_str());
|
tex = CCTextureCache::sharedTextureCache()->addImage(textureName.c_str());
|
||||||
// reset the value of UIImage notify
|
// reset the value of UIImage notify
|
||||||
CCFileUtils::sharedFileUtils()->setPopupNotify(bNotify);
|
CCFileUtils::sharedFileUtils()->setPopupNotify(bNotify);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue