python_avatars icon indicating copy to clipboard operation
python_avatars copied to clipboard

facial_hair_color always white when using Avatar.random and passing some value like 'facial_hair_color': '#4a312c'

Open frafart opened this issue 1 year ago • 0 comments

Describe the bug When generating a new random avatar, if you use facial_hair_color it always generate white, for instance: when using Avatar.random and passing some value like 'facial_hair_color': '#4a312c'

To Reproduce Generate a random Avatar with this json:

{'style': 'transparent', 'top': 'pixie', 'hat_color': '#25557C', 'eyebrows': 'angry_natural', 'eyes': 'side', 'nose': 'default', 'mouth': 'disbelief', 'facial_hair': 'wick_beard', 'skin_color': '#ae5d29', 'hair_color': '#d6b370', 'facial_hair_color': '#4a312c', 'accessory': 'kurt', 'clothing': 'shirt_crew_neck', 'clothing_color': '#929598', 'shirt_graphic': 'resist', 'shirt_text': 'None', 'title': 'None'}

Expected behavior It would generate the avatar with the specified color.

frafart avatar Sep 13 '24 08:09 frafart