minor fix for texture packer command.
This commit is contained in:
parent
5e9d64e181
commit
442ec92d32
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Any CPU</Platform>
|
||||||
|
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||||
|
<PublishDir>bin\Release\netcoreapp2.1\publish\</PublishDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
@ -90,7 +90,7 @@ namespace RecrownedAthenaeum.Tools.TextureAtlasTools
|
|||||||
{
|
{
|
||||||
if (arguments[i] == "-9p")
|
if (arguments[i] == "-9p")
|
||||||
{
|
{
|
||||||
if (i + 5 >= arguments.Length) throw new ArgumentException("-9p is not followed by proper specifiers for a 9Patch (format: \"-9p textureName,a,b,c,d\" where a, b, c, and d are integers definining the border regions for the 9patch.)");
|
if (i + 1 >= arguments.Length) throw new ArgumentException("-9p is not followed by proper specifiers for a 9Patch (format: \"-9p textureName,a,b,c,d\" where a, b, c, and d are integers definining the border regions for the 9patch.)");
|
||||||
string[] nPatchArgs = arguments[i + 1].Split(',');
|
string[] nPatchArgs = arguments[i + 1].Split(',');
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user