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