Files
bherbruck af9aa621b8 Viewport: hover shows no hidden edges; hidden edges of selected bodies are a preference (off) (#17483)
* Viewport: hovering a body no longer shows its hidden edges

A lit edge is drawn dimmed where the model hides it, so a picked edge on the far side still
shows (#50). A whole hovered body (a body under the pointer, or a Browser row) lit every one
of its edges that way, so every hidden edge showed through it and the body looked like a
wireframe. Since #15479 those are the model's own lines drawn again (LitEdges) with a third,
hidden style.

A whole lit body now draws its edges' halo and line where they are seen, and nothing where the
model hides them: LitEdges has no hidden style (and its pipeline is gone), and the copy made
where the view draws no edges, or for smooth edges, skips the hidden line too. A single hovered
or selected edge, and a selected face's outline, still show dimmed through the model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Viewport: hidden edges of selected bodies are a preference (off)

Hover never draws hidden edges. A selected whole body can draw its hidden edges dimmed, in the
LitEdges hidden style, when Preferences > Graphics > Show hidden edges of selected bodies
(show_selected_hidden_edges) is on; it is off by default. The LitEdges styles are each
optional, so a hovered body draws only the halo and line, and a selected one only the dimmed
line. Where the view draws no edges, the hidden lines are copied.

The preference has its strings in a pending locale file, a settings-profile key and a row in
the Graphics design table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Format graphics preferences

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 20:29:52 +00:00
..