Merge pull request #16008 from yalab/cocosstudio_with_texturepacker

cocosstudio can manage TexturePacker Image.
This commit is contained in:
minggo 2016-07-01 10:10:09 +08:00 committed by GitHub
commit 043d81be1c
1 changed files with 5 additions and 0 deletions

View File

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