Vehicles: part colours from the result most configurations give #66

Manually merged
github merged 1 commit from gh-pr/66/head into gh-pr/66/base 2026-11-26 20:07:09 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-23 18:39 UTC · original
holdmysocks:claude/config-mode → master · +27 −14 · 1 files · 1 commits · merged 2026-11-23 18:54 UTC

Fixes comet7 showing a black rear deck.

Cause

A model's part colours were taken from its first configuration. Configurations differ: comet7's first one leaves the rear deck on the "black" colour record, while 15 of its other 16 bind the boot and bodywork groups (which hold that part id) to the body paint.

Change

  • A model's part set takes the result that most of its configurations give (the earliest of those on a tie).
  • vehicle_parts.json is format 5 and exports are version 4, so the viewer exports vehicles again. 314 of 319 linked models get a set of their own.
  • comet7's rear deck is body paint. Its roof keeps a material of its own: the configurations assign it the fixed colour record a4a56fb8 (palette row 151, a dark blue-grey), which fits a fabric top.

Checked

  • comet7 in the viewer, from behind.
  • 137 core tests pass.

Not done

  • Other vehicles were not looked at again after this change.
  • The viewer's configuration choice does not change part colours; they are fixed at export.
**@⁠holdmysocks** on GitHub · 2026-11-23 18:39 UTC · [original](https://github.com/holdmysocks/SixNG/pull/66) `holdmysocks:claude/config-mode` → `master` · +27 −14 · 1 files · 1 commits · merged 2026-11-23 18:54 UTC Fixes comet7 showing a black rear deck. ## Cause A model's part colours were taken from its first configuration. Configurations differ: comet7's first one leaves the rear deck on the "black" colour record, while 15 of its other 16 bind the boot and bodywork groups (which hold that part id) to the body paint. ## Change - A model's part set takes the result that most of its configurations give (the earliest of those on a tie). - `vehicle_parts.json` is format 5 and exports are version 4, so the viewer exports vehicles again. 314 of 319 linked models get a set of their own. - comet7's rear deck is body paint. Its roof keeps a material of its own: the configurations assign it the fixed colour record `a4a56fb8` (palette row 151, a dark blue-grey), which fits a fabric top. ## Checked - comet7 in the viewer, from behind. - 137 core tests pass. ## Not done - Other vehicles were not looked at again after this change. - The viewer's configuration choice does not change part colours; they are fixed at export.
The part colours of a model were taken from its first configuration.
Configurations differ: comet7's first one leaves the rear deck on the
"black" record, while 15 of its other 16 bind the boot and bodywork
groups (which hold that part id) to the body paint. The viewer showed
comet7 with a black rear deck.

- A model's part set now takes the result that most of its
  configurations give (the earliest of those on a tie).
  vehicle_parts.json is format 5; exports are version 4, so the viewer
  exports vehicles again. 314 of 319 linked models get a set of their
  own.
- comet7: the rear deck is body paint. Its roof keeps a material of its
  own: the configurations assign it the fixed colour record a4a56fb8
  (palette row 151, a dark blue-grey), which fits a fabric top.

Checked in the viewer on comet7. 137 core tests pass.

Not done: the viewer's configuration choice does not change part
colours; they are fixed at export.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:07:08 +00:00
github manually merged commit ed9ecf4e9c into gh-pr/66/base 2026-11-26 20:07:09 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.