Viewer: per-piece hair colours that can be linked #420

Manually merged
github merged 14 commits from github-bot/gh-420 into gh-pr/420/base 2026-11-27 02:26:37 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-26 22:47 UTC · original
holdmysocks:claude/people-hair-pieces → master · +755 −79 · 16 files · 14 commits · merged 2026-11-27 02:11 UTC

Viewer: each of a character's hair pieces (hair, brows, lashes, beard, and any other slot the character has) gets its own colour, or shares one with another piece.

Builds on #418 and contains its commit. Merge #418 first. This diff will then show only the per-piece change.

Change (Character panel, under Hair):

  • A "Hair colours" row per piece. Alternatives count as their piece: "other hair" as hair, "other beard" as beard (cs_jason had a separate "other beard" row before the second commit).
  • Each row has a link choice:
    • "own colour": a colour picker, plus a "stored" box for the colours of the hair preset the item names.
    • "same as ": the piece follows another piece's colour or stored colours.
  • Brows, lashes and the rest start linked to the hair, so a character looks as before until something is changed.
  • Linking several pieces to one keeps them together. A piece cut loose starts from the colour it showed.
  • The hair palette swatches paint the piece whose name is selected. If that piece is linked, they paint the piece it follows.
  • The "stored hair colours" box in the Hair and fur header now sets all pieces at once.
  • --hair-pieces "brows:r,g,b;beard:r,g,b" gives some pieces their own colours. --hair-colour still sets them all.
  • README updated.

Verified:

  • cargo test --release --locked -p sixng-gui passes.
  • cs_lucia with --hair-colour 200,40,40 --hair-pieces "brows:30,60,230;lashes:20,200,40": red hair, blue brows, green lashes. The panel shows three rows, each with its own colour.
  • cs_jason with --hair-pieces "beard:220,120,30;brows:30,60,230": orange beard, blue brows. The hair keeps its stored colour.
  • cs_lucia without flags looks as before: dark stored hair, with brows and lashes shown as "same as hair".

Not done:

  • The link menu and the swatches weren't clicked by hand. The flags go through the same piece state.
  • Pieces with no grooms placed (for example the strand hair the panel lists as "no grooms placed") have nothing to colour, so they get no row.
**@⁠holdmysocks** on GitHub · 2026-11-26 22:47 UTC · [original](https://github.com/holdmysocks/SixNG/pull/420) `holdmysocks:claude/people-hair-pieces` → `master` · +755 −79 · 16 files · 14 commits · merged 2026-11-27 02:11 UTC Viewer: each of a character's hair pieces (hair, brows, lashes, beard, and any other slot the character has) gets its own colour, or shares one with another piece. Builds on #418 and contains its commit. Merge #418 first. This diff will then show only the per-piece change. **Change** (Character panel, under Hair): - A "Hair colours" row per piece. Alternatives count as their piece: "other hair" as hair, "other beard" as beard (cs_jason had a separate "other beard" row before the second commit). - Each row has a link choice: - "own colour": a colour picker, plus a "stored" box for the colours of the hair preset the item names. - "same as <piece>": the piece follows another piece's colour or stored colours. - Brows, lashes and the rest start linked to the hair, so a character looks as before until something is changed. - Linking several pieces to one keeps them together. A piece cut loose starts from the colour it showed. - The hair palette swatches paint the piece whose name is selected. If that piece is linked, they paint the piece it follows. - The "stored hair colours" box in the Hair and fur header now sets all pieces at once. - `--hair-pieces "brows:r,g,b;beard:r,g,b"` gives some pieces their own colours. `--hair-colour` still sets them all. - README updated. **Verified:** - `cargo test --release --locked -p sixng-gui` passes. - cs_lucia with `--hair-colour 200,40,40 --hair-pieces "brows:30,60,230;lashes:20,200,40"`: red hair, blue brows, green lashes. The panel shows three rows, each with its own colour. - cs_jason with `--hair-pieces "beard:220,120,30;brows:30,60,230"`: orange beard, blue brows. The hair keeps its stored colour. - cs_lucia without flags looks as before: dark stored hair, with brows and lashes shown as "same as hair". **Not done:** - The link menu and the swatches weren't clicked by hand. The flags go through the same piece state. - Pieces with no grooms placed (for example the strand hair the panel lists as "no grooms placed") have nothing to colour, so they get no row.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:39:39 +00:00
# Conflicts:
#	crates/sixng-gui/src/main.rs
#	crates/sixng-gui/src/model_view.rs
github-bot changed target branch from master to gh-pr/420/base 2026-11-27 02:26:37 +00:00
github manually merged commit 70e6d27ad7 into gh-pr/420/base 2026-11-27 02:26:37 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.