mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
kSPMTight fix
SpritePackingMode.kSPMTight can occur outside of settingsRaw.packed == 1. [sample file](https://cdn.discordapp.com/attachments/603359898507673632/678238497894563860/kuroyukiwedding_base_1_a) from Dengeki Bunko: Crossing Void
This commit is contained in:
parent
cffe96b409
commit
4efa5b0507
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user