Skip to content

Commit

Permalink
More black squares problems fixed sorta
Browse files Browse the repository at this point in the history
  • Loading branch information
UncertainProd committed Sep 4, 2021
1 parent 7b7c85b commit fb9730b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xmlpngengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ def split_spsh(pngpath, xmlpath, udpdatefn):
tex_height = int(subtex.attrib['height'])
pose_name = subtex.attrib['name']
sprite_img = spritesheet.crop((tex_x, tex_y, tex_x+tex_width, tex_y+tex_height))
sprite_img = sprite_img.convert('RGBA')
qim = ImageQt(sprite_img)
sprites.append((qim, pose_name))
udpdatefn((i+1)*50//len(subtextures), pose_name)
Expand Down

0 comments on commit fb9730b

Please sign in to comment.