Fixed to use TexturePacker with cocosstudio.

This commit is contained in:
yalab 2016-07-02 17:31:32 +09:00
parent c1949be617
commit c675675de5
1 changed files with 5 additions and 0 deletions

View File

@ -673,6 +673,11 @@ namespace cocostudio
{ {
normalFileExist = true; normalFileExist = true;
} }
else if (SpriteFrameCache::getInstance()->getSpriteFrameByName(normalTexturePath))
{
normalFileExist = true;
normalType = 1;
}
else else
{ {
normalErrorFilePath = normalTexturePath; normalErrorFilePath = normalTexturePath;