Export: materials.json keeps every texture when a slot key repeats #143

Manually merged
github merged 1 commit from gh-pr/143/head into gh-pr/143/base 2026-11-26 20:13:04 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-24 12:31 UTC · original
holdmysocks:claude/people-material-keys → master · +10 −3 · 1 files · 1 commits · merged 2026-11-24 12:41 UTC

Follow-up to #140 (issue #133).

What changes

  • In materials.json, two textures or parameters that end up with the same key no longer replace each other. The later one gets a number after its key (44444444 #2).
  • This matters for slots without a known name that a material binds more than once, such as several region masks under one key on heads.

Checked

  • Workspace tests pass; the layout test now has a repeated unnamed slot.

Not checked

  • No head was exported with the extra head maps to see the numbered keys in a real file.
**@⁠holdmysocks** on GitHub · 2026-11-24 12:31 UTC · [original](https://github.com/holdmysocks/SixNG/pull/143) `holdmysocks:claude/people-material-keys` → `master` · +10 −3 · 1 files · 1 commits · merged 2026-11-24 12:41 UTC Follow-up to #140 (issue #133). ## What changes - In `materials.json`, two textures or parameters that end up with the same key no longer replace each other. The later one gets a number after its key (`44444444 #2`). - This matters for slots without a known name that a material binds more than once, such as several region masks under one key on heads. ## Checked - Workspace tests pass; the layout test now has a repeated unnamed slot. ## Not checked - No head was exported with the extra head maps to see the numbered keys in a real file.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:13:03 +00:00
github manually merged commit 5d8c94b379 into gh-pr/143/base 2026-11-26 20:13:04 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.