Skip to content

Conversation

@duhaibo0404
Copy link
Contributor

如果在一个csb文件里 使用一个plist文件多次 会导致 buffer["textures"].length过大
导致重复cc.spriteFrameCache.addSpriteFrames();

如果在一个csb文件里 使用一个plist文件多次 会导致 buffer["textures"].length过大 
导致重复cc.spriteFrameCache.addSpriteFrames();
@pandamicro
Copy link
Contributor

@VisualSJ Please review it

@VisualSJ
Copy link
Contributor

VisualSJ commented Nov 7, 2014

This is a negligence when writing code. ^_^
@duhaibo0404 Thanks for you code.

This PR can be combined. @dingpinglv

dingpinglv added a commit that referenced this pull request Nov 7, 2014
处理多处使用同一资源 导致重复addSpriteFrames
@dingpinglv dingpinglv merged commit 3cba083 into cocos2d:develop Nov 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants