Liveries: a sticker projected from a side is dragged as seen from that side #537
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!537
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-537"
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-28 05:09 UTC · original
holdmysocks:claude/livery-side-car→master· +25 −5 · 2 files · 1 commits · merged 2026-11-28 05:19 UTCWhat
Dragging a sticker that is projected from a side of the vehicle (PR 529) now puts its middle exactly under the pointer.
The Move tool turned the place under the pointer into the sticker's centre as seen along the panels' own direction. For a sticker projected from a side that is a slightly different place wherever the surface leans away from that side or stands off the panels' mean plane, so the picture's middle sat a little off the pointer (PR 529 listed this as not done). The place is now taken as seen from the side the sticker is projected from. From a side the panels are seen edge-on from, it stays as before.
Also: the scripted drag (
--livery-drag) prints the zone and the model point it hit, so a scripted check can compare numbers.Checked
Two things PR 529 left open were looked at first, on a car (Buffalo, a sticker 3.6 m by 0.9 m on the left front wing, both doors, the sill and the rear quarter, projected from the left). Neither needed a change:
The change:
cargo test -p sixng-gui: 68 pass, 2 ignored (run before the print line was added).cargo build --release -p sixng-guiwithout warnings.Not decoded / not done