Merge pull request #16137 from yalab/cocosstudio_with_texturepacker

Fixed to use cocosstudio LoadingBarReader with TexturePacker.
This commit is contained in:
minggo 2016-07-18 14:14:49 +08:00 committed by GitHub
commit 04ebd952a0
1 changed files with 5 additions and 0 deletions

View File

@ -262,6 +262,11 @@ namespace cocostudio
{
fileExist = true;
}
else if (SpriteFrameCache::getInstance()->getSpriteFrameByName(imageFileName))
{
fileExist = true;
imageFileNameType = 1;
}
else
{
errorFilePath = imageFileName;