Splash Huang wrote:
I saw you have done fix this bug in repository.
But I think that the way you fix this bug will cause another bug.
If you add a image/texture with self-defined key, it can not be find by textureForKey / removeTextureForKey
because the key will always be treat as relative path and become a fullpath by using CCFileUtil::fullPathFromRelativePath.
So the key we self-defined will never be found.
Yes, it’s really a problem! I don’t have any good idea for this.
Make sure the parameter of CCTextureCache::addImage() is relative path can resolve this problem!
But by now it’s really difficult to achieve.
Do you have any good idea to resolve this problem?