Painted hair: find a hair item's layer set by its own tag, not by its drawable name #360
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!360
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/360/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-26 05:46 UTC · original
holdmysocks:claude/people-hair-layer→master· +26 −10 · 4 files · 3 commits · merged 2026-11-26 06:48 UTCLucia's scalp was bare skin under her strands. The game paints hair colour onto the head skin under strand hair, and the viewer already draws those painted layers, but it found none for her hair.
Cause. The viewer looked a hair item's layer set up by the hash of its drawable name without
_full. That is what most items carry in their layer-set tag (023e5a2f), but an item can inherit a different value from a parent item. Lucia's default ponytail inherits a set whose name differs from its drawable name, and its drawable name matches no set.Change. Wardrobe parts and look parts now carry the layer-set tag, taken first along the item's chain the same way the colour preset is. The viewer looks the layers up by it and falls back to the drawable name when the tag is missing.
Result. Lucia's scalp now gets her painted hair layer: dark brown, with a crown whorl, under the strands.
The strand widening from #345 was re-tested with the layer on and still stays. The scalp is covered either way now, but long hair away from the scalp (her ponytail, Mandy's lengths) goes see-through without it.
Tests:
cargo test --release -p sixng-core -p sixng-gui -p sixng-clipass.