Bug fixes

* Fixed Tonks' elf year skin zorder
* Fixed icon cropping for makeup
This commit is contained in:
LoafyLemon 2023-01-20 20:21:39 +00:00
parent 9491299be0
commit e8a617ac7b
3 changed files with 4 additions and 2 deletions

View File

@ -172,7 +172,7 @@ default ton_outfit_pullover = DollOutfit([ton_hair_base_new, ton_top_pullover, t
################# /% \ |=I~I=| #################
# Accessories
default ton_makeup_elf_ears = DollCloth("tonks", ("head", "makeup"), "makeup", "elf_ears", None, zorder=5)
default ton_makeup_elf_ears = DollCloth("tonks", ("head", "makeup"), "makeup", "elf_ears", None)
default ton_hat_antlers = DollClothDynamic("tonks", ("head", "headgear"), "headgear", "antlers", [[234, 187, 170, 255]], tracking="?hair")
default ton_hat_elf = DollClothDynamic("tonks", ("head", "headgear"), "headgear", "elf", [[2, 116, 71, 255], [255, 239, 248, 255]], tracking="?hair")
default ton_neckwear_choker1 = DollCloth("tonks", ("head", "neckwear"), "neckwear", "choker_1", [[255, 43, 149, 255]])

View File

@ -159,9 +159,11 @@ init python:
def build_icon(self, hash):
matrix = SaturationMatrix(0.0)
sprites = [i for i in self.build_image(hash, matrix=matrix) if not i[0] == "mask"]
bounds = self.get_layers(hash).get("outline", [sprites[0][1]])[0]
sprites.extend(self.char.body.build_image(self.char.body._hash, matrix=matrix))
sprites.sort(key=itemgetter(2))
bounds = self.get_layers(hash).get("outline", [sprites[0][1]])[0]
wmax, hmax = self.sizes
wmin = hmin = 96