Bug fixes
* Fixed Tonks' elf year skin zorder * Fixed icon cropping for makeup
This commit is contained in:
parent
9491299be0
commit
e8a617ac7b
@ -172,7 +172,7 @@ default ton_outfit_pullover = DollOutfit([ton_hair_base_new, ton_top_pullover, t
|
|||||||
################# /% \ |=I~I=| #################
|
################# /% \ |=I~I=| #################
|
||||||
|
|
||||||
# Accessories
|
# 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_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_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]])
|
default ton_neckwear_choker1 = DollCloth("tonks", ("head", "neckwear"), "neckwear", "choker_1", [[255, 43, 149, 255]])
|
||||||
|
@ -159,9 +159,11 @@ init python:
|
|||||||
def build_icon(self, hash):
|
def build_icon(self, hash):
|
||||||
matrix = SaturationMatrix(0.0)
|
matrix = SaturationMatrix(0.0)
|
||||||
sprites = [i for i in self.build_image(hash, matrix=matrix) if not i[0] == "mask"]
|
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.extend(self.char.body.build_image(self.char.body._hash, matrix=matrix))
|
||||||
sprites.sort(key=itemgetter(2))
|
sprites.sort(key=itemgetter(2))
|
||||||
bounds = self.get_layers(hash).get("outline", [sprites[0][1]])[0]
|
|
||||||
|
|
||||||
wmax, hmax = self.sizes
|
wmax, hmax = self.sizes
|
||||||
wmin = hmin = 96
|
wmin = hmin = 96
|
||||||
|
Loading…
Reference in New Issue
Block a user