Outfit export: parts added with --add hide what they cover #379

Manually merged
github merged 3 commits from gh-pr/379/head into gh-pr/379/base 2026-11-26 20:31:58 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 16:34 UTC · original
holdmysocks:claude/people-add-hide → master · +44 −45 · 1 files · 3 commits · merged 2026-11-26 17:03 UTC

Parts added with --add on top of --look now get their hide masks too. Until now an added jacket or top hid none of the skin or garments under it.

Change:

  • The hide masks are worked out once, over every exported part:
    • --look parts: their outfit item.
    • --parts, --add and default parts: the same drawable's item in the character's wardrobe (#375).
  • The masks of a --look outfit are still worked out over all of its items, strands and unresolved ones included, as before.
  • The _cull_00 twin swap now happens after the parts are picked, so an added garment can make an outfit garment use its twin.

Verified:

  • cargo test --release --locked -p sixng-core -p sixng-cli passes.
  • cs_tal_bu --look 0: hidden triangles unchanged (t-shirt 2,854, jeans 642, hands 3,708, feet 2,032).
  • cs_jason --look 1 (shorts only) plus --add of outfit 0's tank top hides what --look 0 hides: 464 triangles of the shorts and 1,012 of the skin. --look 1 alone hides 0 and 166.

Not done:

  • The second mask list (hides_sub) still isn't applied in the export.
  • No in-game comparison.
**@⁠holdmysocks** on GitHub · 2026-11-26 16:34 UTC · [original](https://github.com/holdmysocks/SixNG/pull/379) `holdmysocks:claude/people-add-hide` → `master` · +44 −45 · 1 files · 3 commits · merged 2026-11-26 17:03 UTC Parts added with `--add` on top of `--look` now get their hide masks too. Until now an added jacket or top hid none of the skin or garments under it. **Change:** - The hide masks are worked out once, over every exported part: - `--look` parts: their outfit item. - `--parts`, `--add` and default parts: the same drawable's item in the character's wardrobe (#375). - The masks of a `--look` outfit are still worked out over all of its items, strands and unresolved ones included, as before. - The `_cull_00` twin swap now happens after the parts are picked, so an added garment can make an outfit garment use its twin. **Verified:** - `cargo test --release --locked -p sixng-core -p sixng-cli` passes. - `cs_tal_bu --look 0`: hidden triangles unchanged (t-shirt 2,854, jeans 642, hands 3,708, feet 2,032). - `cs_jason --look 1` (shorts only) plus `--add` of outfit 0's tank top hides what `--look 0` hides: 464 triangles of the shorts and 1,012 of the skin. `--look 1` alone hides 0 and 166. **Not done:** - The second mask list (`hides_sub`) still isn't applied in the export. - No in-game comparison.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:31:55 +00:00
github manually merged commit 0d87bfae85 into gh-pr/379/base 2026-11-26 20:31:58 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.