From 122826248d900b495c0dc1499671c81b90168e47 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Sun, 13 Jan 2019 00:16:49 -0600 Subject: [PATCH] Optimized. --- .../TextureAtlasTools/TexturePackerCommand.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePackerCommand.cs b/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePackerCommand.cs index 48359c8..fa6f6ef 100644 --- a/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePackerCommand.cs +++ b/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePackerCommand.cs @@ -13,7 +13,7 @@ namespace RecrownedAthenaeum.Tools.TextureAtlasTools public TexturePackerCommand() : base("texturepacker") { help = "Packs a given directory composed of png and jpg files into an atlas. Can also add 9patch properties. Images with the associated \".9p\" files will automatically be defined in the resulting .tatlas file, but can be overwritten by use of the \"-9p\" argument."; - arguments = new EngineCommandArgument[7] { + arguments = new[] { new EngineCommandArgument("-interactive", "runs in interactive mode. Ninepatches must still be defined with arguments or previously defined with associated \".9p\" files. Other arguments will be ignored."), new EngineCommandArgument("-i", "for input directory containing the textures.", true), new EngineCommandArgument("-o", "Path for output files. Points to non-existent file. Will create texture and definitions file with name.", true), @@ -22,7 +22,6 @@ namespace RecrownedAthenaeum.Tools.TextureAtlasTools new EngineCommandArgument("-mp", "Maximum power for one side of the texture. Default is 8."), new EngineCommandArgument("-dau", "Disables automatically upscaling the texture."), }; - } public override void Run(string[] arguments)