The click takes the point by the ground clicked, then the piece or the junction under the cursor; the point nearest on the
screen only when there's none, no farther than what is under the cursor and a bit beyond it, by whole pixels first and
the range then, so the order of the roads doesn't decide. The ends of the pieces are gone through without looking for the
repeated ones (editor_road::each_joint), joints() isn't needed. Esc, the road window closed, another tool or the track work
area drop the drag; Ctrl+Z and Ctrl+Y wait for its end.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DDcMn1Q7wdYkbxDUWscNHZ
The points where the pieces of a road meet were picked only by the ground clicked: one more than 3 m above or below the
ground under the cursor (a road taken down into a cutting, under an embankment) couldn't be picked again. Now the point
nearest to the cursor on the screen (within 12 px, the one nearer to the camera of those about as near) is picked first,
the ground as before after it.
Alt+LMB on a point and dragging up or down changes the height of the selected points (Ctrl: ten times finer); the change
shows as yellow lines and a label by the cursor while dragging, and is applied, as one step of the history, when the button
is let go.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DDcMn1Q7wdYkbxDUWscNHZ