File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ def get_image_from_sprite(m_Sprite) -> Image.Image:
66
66
if settings_raw .packed == 1 :
67
67
rotation = settings_raw .packingRotation
68
68
if rotation == SpritePackingRotation .kSPRFlipHorizontal :
69
- sprite_image = sprite_image .transpose (Image .FLIP_TOP_BOTTOM )
69
+ sprite_image = sprite_image .transpose (Image .FLIP_LEFT_RIGHT )
70
70
# spriteImage = RotateFlip(RotateFlipType.RotateNoneFlipX)
71
71
elif rotation == SpritePackingRotation .kSPRFlipVertical :
72
- sprite_image = sprite_image .transpose (Image .FLIP_LEFT_RIGHT )
72
+ sprite_image = sprite_image .transpose (Image .FLIP_TOP_BOTTOM )
73
73
# spriteImage.RotateFlip(RotateFlipType.RotateNoneFlipY)
74
74
elif rotation == SpritePackingRotation .kSPRRotate180 :
75
75
sprite_image = sprite_image .transpose (Image .ROTATE_180 )
You can’t perform that action at this time.
0 commit comments