Viewer: fit a part's models only on mounting bones the vehicle has #102
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!102
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/102/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-24 02:25 UTC · original
holdmysocks:claude/part-bones→master· +9 −0 · 1 files · 1 commits · merged 2026-11-24 02:32 UTCFollow-up to #95: the user noticed something strange in the middle of the benson.
What
A shared part lists one model per mounting bone: truck side guards come in short, mid and long versions for the chassis lengths (benson's side guard part has 12 models). The viewer fitted every one of them, and placed the ones whose bone the vehicle does not have at the vehicle's origin, so a cluster of guards and brackets sat in the middle of the truck.
Now a model is fitted only when the vehicle has its mounting bone. Bone 0 is the vehicle itself. The pickup bed, which is attached by name (#95), may still fall back to the origin.
Checked
cargo test -p sixng-gui: 12 passed (no new tests).Not done