Merge pull request #485 from K0lb3/patch-1

kSPMTight fix
This commit is contained in:
Perfare 2020-03-24 10:29:01 +08:00 committed by GitHub
commit 48ca96807f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 35 deletions

View File

@ -62,7 +62,7 @@ namespace AssetStudio
spriteImage.RotateFlip(RotateFlipType.Rotate270FlipNone);
break;
}
}
//Tight
if (settingsRaw.packingMode == SpritePackingMode.kSPMTight)
{
@ -109,7 +109,6 @@ namespace AssetStudio
// ignored
}
}
}
//Rectangle
spriteImage.RotateFlip(RotateFlipType.RotateNoneFlipY);