Fixed issue with texture packer caused by not having any 9Ps.
This commit is contained in:
parent
38083a1e2f
commit
59771b00a8
@ -104,7 +104,7 @@ namespace RecrownedAthenaeum.Tools.TextureAtlas
|
|||||||
imageHandlerQueue.Clear();
|
imageHandlerQueue.Clear();
|
||||||
Build(AutoCorrectAtlasSize);
|
Build(AutoCorrectAtlasSize);
|
||||||
}
|
}
|
||||||
if (ninePatchDictionary.ContainsKey(imageHandler.Name))
|
if (ninePatchDictionary != null && ninePatchDictionary.ContainsKey(imageHandler.Name))
|
||||||
{
|
{
|
||||||
imageHandler.ninePatchData = ninePatchDictionary[imageHandler.Name];
|
imageHandler.ninePatchData = ninePatchDictionary[imageHandler.Name];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user