Edit window: 'Show Selection Outlines' turns back on when the Edit window is closed and reopened #1113

Open
opened 2026-10-26 17:54:50 +00:00 by sky_line · 0 comments
Owner

Want: turning off Show Selection Outlines in the Edit (Build) window should only last while that window is open. Closing the Edit window and opening it again should bring the outlines back on.

Today: the checkbox writes RenderHighlightSelections. It is already Persist=0, so it resets on restart, but within a session it stays off: close and reopen the Edit window and the outlines are still hidden. That makes it easy to forget, and selecting things later with no outline looks like a bug.

Where:

  • Checkbox: floater_tools.xml (control RenderHighlightSelections)
  • Read by LLSelectMgr (llselectmgr.cpp, silhouettesEnabled())
  • Also toggled from a menu item in menu_viewer.xml (~line 2017)

Fix: when the Edit window closes (LLFloaterTools::onClose), set RenderHighlightSelections back to its default (on). Decide whether the menu toggle should follow the same rule (suggest yes: one setting, one behaviour).

Test: open Edit, untick Show Selection Outlines, close Edit, reopen it -> the box is ticked and selected objects show outlines.

**Want:** turning off **Show Selection Outlines** in the Edit (Build) window should only last while that window is open. Closing the Edit window and opening it again should bring the outlines back on. **Today:** the checkbox writes `RenderHighlightSelections`. It is already `Persist=0`, so it resets on restart, but within a session it stays off: close and reopen the Edit window and the outlines are still hidden. That makes it easy to forget, and selecting things later with no outline looks like a bug. **Where:** - Checkbox: `floater_tools.xml` (control `RenderHighlightSelections`) - Read by `LLSelectMgr` (`llselectmgr.cpp`, `silhouettesEnabled()`) - Also toggled from a menu item in `menu_viewer.xml` (~line 2017) **Fix:** when the Edit window closes (`LLFloaterTools::onClose`), set `RenderHighlightSelections` back to its default (on). Decide whether the menu toggle should follow the same rule (suggest yes: one setting, one behaviour). **Test:** open Edit, untick Show Selection Outlines, close Edit, reopen it -> the box is ticked and selected objects show outlines.
sky_line added this to the Slipstream project 2026-10-26 17:54:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#1113
No description provided.