Edit window: list of links and faces with hover-to-highlight and click-to-select #252
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#252
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Request
Add a Links / Faces list to the Edit (build tools) floater.
Behaviour:
Notes / prior art
LLSelectMgr(selectObjectOnly,selectTE),LLToolFace, and "Edit linked parts" mode. The hover highlight can use the same path as the VK selection outline (renderSelections/ VK overlay). Silhouettes were removed with GL. The VK outline walksgetSelection(), so the hover preview needs a separate "highlight" list it can draw (#… area-search beacons use a similar overlay pass).Acceptance
Implemented on branch
linklist(146b5fefd3,4d8fc95205,1e416d00d5). Not built yet;-fsyntax-onlypasses on the touched TUs.UI: a new Links tab in the build floater (
panel_tools_links.xml,LLPanelObjectLinks). It has a filter box (name / description / link number), a links list (link number + name, description in the tooltip, root first), and a faces list for the current link (face index, PBR / Legacy / Legacy+M, alpha mode, base texture UUID in the tooltip). No-modify or RLV-locked links are listed greyed and can't be selected.Hover: the hovered link (all faces) or face is drawn in the VK selection outline in its own colour (
SilhouetteHoverColor), on top of the existing selection, and its occluded edges are always shown. It uses the same instance-id indirect outline lists:sel_rootis now a kind (root / child / hover), with 9 lists and no shader change. The frame builder polls it each frame, so it works with retained UI. It clears on mouse-leave.Click: clicking a link turns Edit linked parts on and selects that prim. Clicking a face switches to the Select Face tool and selects that face. Ctrl / Shift toggle, following LLToolSelect / LLToolFace. The lists follow LLSelectMgr (in-world clicks, the Edit linked toggle).
Notes:
Verified done: Links tab in the build floater: filterable links list + faces list, hover-to-highlight in the VK selection outline, click to select link/face, texture thumbnails and colour swatches. Commits:
146b5fefd3,4d8fc95205,1e416d00d5,9b71f01706. Shipped in v1.0.0-beta.1.