Outfit export: --parts hides covered skin and under-layers, like --look #375

Manually merged
github merged 1 commit from gh-pr/375/head into gh-pr/375/base 2026-11-26 20:31:38 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 16:21 UTC · original
holdmysocks:claude/people-parts-hide → master · +33 −0 · 1 files · 1 commits · merged 2026-11-26 16:44 UTC

sixng outfit --parts … and the default-parts export now hide skin and under-layers covered by other clothes, as --look has since #358. Until now they hid nothing.

Change:

  • For each picked garment, the export looks up the same drawable in the character's wardrobe: its outfits first, then the variations no outfit lists. It takes that item's hide masks.
  • A garment another picked part covers is swapped for its _cull_00 twin, by the same rule as --look (pedlook::cull_twins).
  • Garments that aren't in the character's wardrobe, and generic characters with no wardrobe, still hide nothing.

Verified:

  • cargo test --release --locked -p sixng-core -p sixng-cli passes.
  • Exported cs_tal_bu with --parts, listing its outfit 0 garments by their _full names. The t-shirt became its _cull_00 twin. Hidden triangles match --look 0 exactly: t-shirt 2,854, jeans 642, hands 3,708, feet 2,032.

Not done:

  • Parts added with --add on top of --look still get no masks.
  • The second mask list (hides_sub) still isn't applied in the export.
**@⁠holdmysocks** on GitHub · 2026-11-26 16:21 UTC · [original](https://github.com/holdmysocks/SixNG/pull/375) `holdmysocks:claude/people-parts-hide` → `master` · +33 −0 · 1 files · 1 commits · merged 2026-11-26 16:44 UTC `sixng outfit --parts …` and the default-parts export now hide skin and under-layers covered by other clothes, as `--look` has since #358. Until now they hid nothing. **Change:** - For each picked garment, the export looks up the same drawable in the character's wardrobe: its outfits first, then the variations no outfit lists. It takes that item's hide masks. - A garment another picked part covers is swapped for its `_cull_00` twin, by the same rule as `--look` (`pedlook::cull_twins`). - Garments that aren't in the character's wardrobe, and generic characters with no wardrobe, still hide nothing. **Verified:** - `cargo test --release --locked -p sixng-core -p sixng-cli` passes. - Exported `cs_tal_bu` with `--parts`, listing its outfit 0 garments by their `_full` names. The t-shirt became its `_cull_00` twin. Hidden triangles match `--look 0` exactly: t-shirt 2,854, jeans 642, hands 3,708, feet 2,032. **Not done:** - Parts added with `--add` on top of `--look` still get no masks. - The second mask list (`hides_sub`) still isn't applied in the export.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:31:36 +00:00
github manually merged commit 0b6eed5882 into gh-pr/375/base 2026-11-26 20:31:38 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.