#198 Pie menus: the full slice list, Slipstream's own items (and #1100 Compass) #1170

Manually merged
sky_line merged 0 commits from TheSlowly/Slipstream:pie-menu-quickwins-198 into main 2026-11-02 23:48:20 +00:00
Collaborator

Fixes #198, fixes #1100: the full pie menu list from #198.

  • Give Card slice; pie opacity, fade and colour options in Preferences > Skins.
  • The empty slices filled: To Set (contact sets), Face towards, Script Info (through the Slipstream Helper), glTF export on your own attachments (instead of backup / Collada), Add / Remove Favorite, Mesh LOD.
  • #1100: avatar alignment / Compass (Avatar menu, toolbar, "Face towards" in the radar and mini-map menus); Face towards in the pies uses it.
  • Alt + right-click menus in mouselook (opt-in, Move & View); the mouse is freed for the menu like the mouselook chat window.
  • Pie menu sounds in Sound & Media: on/off, UUID, preview and reset per sound.
  • Pie translations (9 languages); the Slipstream skin's own pie colours.
  • Pie slices use the same enable checks as the flat menus (RLVa); all pie callbacks resolve.
  • Slipstream's own right-click items in the pies too. Object More > Tools > (particles, speaker, local animation, Copy UUID, wizard tools) and Sounds...; avatar Mute > is Manage > as in the flat menu (with Freeze, Parcel Eject and an Estate > ring), Teleport To, Copy > (names, SLurl, UUIDs), Cel Shade and render exceptions; Fly / Land and Stop Anims for yourself.

Merged with main after #1250: its Freeze / Send Home / Estate Kick / Parcel Eject slices live under Manage > here (More > is full), with #1250's hide-when-unusable checks, labels and tooltips. Earlier merges kept your Sound Emitter slices. Tested in-world.

Fixes #198, fixes #1100: the full pie menu list from #198. - Give Card slice; pie opacity, fade and colour options in Preferences > Skins. - The empty slices filled: To Set (contact sets), Face towards, Script Info (through the Slipstream Helper), glTF export on your own attachments (instead of backup / Collada), Add / Remove Favorite, Mesh LOD. - #1100: avatar alignment / Compass (Avatar menu, toolbar, "Face towards" in the radar and mini-map menus); Face towards in the pies uses it. - Alt + right-click menus in mouselook (opt-in, Move & View); the mouse is freed for the menu like the mouselook chat window. - Pie menu sounds in Sound & Media: on/off, UUID, preview and reset per sound. - Pie translations (9 languages); the Slipstream skin's own pie colours. - Pie slices use the same enable checks as the flat menus (RLVa); all pie callbacks resolve. - Slipstream's own right-click items in the pies too. Object More > Tools > (particles, speaker, local animation, Copy UUID, wizard tools) and Sounds...; avatar Mute > is Manage > as in the flat menu (with Freeze, Parcel Eject and an Estate > ring), Teleport To, Copy > (names, SLurl, UUIDs), Cel Shade and render exceptions; Fly / Land and Stop Anims for yourself. Merged with main after #1250: its Freeze / Send Home / Estate Kick / Parcel Eject slices live under Manage > here (More > is full), with #1250's hide-when-unusable checks, labels and tooltips. Earlier merges kept your Sound Emitter slices. Tested in-world.
Adds LLAvatarActions::offerCallingCard (sends OfferCallingCard) and the
Avatar.GiveCard callback, and fills the Give Calling Card slots in the
avatar/attachment other pies. New OfferedCard notification confirms it.
The pie block moves into the free space under the skin info to make room;
the sliders and the two swatches are enabled by Override colors.
Not the agent's region: an avatar across a region border was never offered the card.
No region (the avatar left): the existing CantOfferCallingCard alert.
TheSlowly changed title from #198 Pie menus: Give Card slice; pie opacity, fade and colour options in Preferences to #198 Pie menus: Firestorm parity (and #1100 Compass) 2026-10-28 08:27:54 +00:00
Ports Firestorm's FSFloaterAvatarAlign: a compass window (full and mini) that turns the
avatar to a cardinal direction, by a fixed step, to the nearest 45 degrees, or towards the
nearest avatar within 20 m. The turn goes to the server, so everyone sees it.

Opened from Avatar > Avatar alignment... and the "Avatar alignment" toolbar button; "Face
nearest avatar" is in the Avatar menu and the toolbar too. "Face towards avatar" is in the
radar and mini-map menus (and Avatar.FaceTowards for the pie menus, #198). The shared
can-face / face rule is FSAvatarAlignBase::canFaceAvatarID / faceAvatarID.
- To Set... (contact sets) and Face towards (#1100) on other avatars and their attachments.
- Script Info on every avatar / attachment / object pie: the script count, memory and time
  in nearby chat through the Slipstream Helper (SLScriptInfo, as Area Search); Firestorm
  asks its LSL bridge.
- Save as > glTF... on your own attachments: the glTF export (#908) instead of Firestorm's
  backup / Collada export. Other people's attachments keep empty slots, since the exporter
  only takes your own objects.
- Add / Remove Favorite on your own attachments (the inventory item they were worn from).
- Mesh LOD in the avatar and attachment Reset submenus, after Anims: forces the highest LOD
  on each worn mesh, as Firestorm's Reset Mesh LOD.
The Alchemy / Ionic / Heretic skins the ticket mentions were removed (947c63c449); the Slipstream skin, the default, fell back to the default skin's white pie text. It now uses its menu text colour, and the two Preferences override colours (OverridePieColors) are defined in the skin, with the same values as before.
FSEnableRightclickMenuInMouselook (Preferences > Move & View, "Context menus in Mouselook", off by default): Alt + right-click in mouselook opens the menu for what is under the crosshair. Firestorm only lets the click through; here the mouse is also freed for the menu the way the mouselook chat window frees it (#225), and a click in the world takes mouselook back. Right-click with another tool active already went through LLViewerWindow::handlePieMenu as in Firestorm.
A Pie menu sounds section (the opening, closing and eight slice-highlight sounds): an on/off per sound, its UUID, Play to preview and Reset to the default. The on/off is Firestorm's PlayModeUISnd<name>; find_ui_sound now honours a PlayMode<name> setting wherever one exists, so only the pie sounds have one for now. Slipstream has no UI Sounds panel, so this is a section of its own rather than Firestorm's whole panel.
Copied as-is: a translated file only changes labels, matched by name, and names our menus don't have are skipped. The Give Card slice takes Firestorm's name (Give Calling Card) so its translation applies; the English label stays. Untranslated: Anims (#297) and glTF... (the format name). Danish and Turkish have no Firestorm translation and stay English.
Compared every pie slice with the flat menu item that runs the same action. Touch, edit, sit / stand on objects and the avatar items already used the same checks (several as enable where the flat menu hides, since a pie keeps its slots). Differences fixed: the land pie's About Land and Sit Here now grey out like the flat menu (Floater.CanShow, which RLVa's floater rules answer, and Land.CanSit); both actions were already refused on click. The flat Show in inventory on your own attachments now has the RLVa showinv check its pie slice had. The Blacklist / Temporary derender slices got Object.EnableDerender.
The pies matched Firestorm's, so people using them lost what Slipstream's flat menus add:
- Objects: More > Tools > (in the slot where the More ring repeated the top ring's Buy):
  Particles, Speaker, Play / Stop local animation, Copy UUID, and Explode / Destroy /
  Force Delete (hidden unless SlipstreamPowerfulWizard). Mute > also has Sounds...
- Avatars and their attachments: Mute > is Manage > as in the flat menu (Mute, particle
  owner, Freeze and Eject moved in from More >, Send Home / Estate Kick / Estate Ban);
  More > has Teleport To and Copy > (names, SLurl, UUIDs) in their place; Display > has
  Cel Shade and the render exceptions. An attachment's Derender > also derenders the avatar.
- Yourself: Fly / Land shares the Sit / Stand slot (it wins it while flying); Reset > has
  Stop Anims; your attachment's Inventory > has Copy UUID.
The translated pies keep their Freeze / Eject labels under the renamed ring ("Manage").
Conflicts with the new upstream pie items and the mini-map overhaul, both sides kept:
- Avatar / attachment Manage >: upstream's Sound Emitter / Sound (Perm) slices join Mute,
  particle owner, Freeze and Eject; the estate actions (Send Home, Estate Kick, Estate Ban)
  move into their own Estate > ring so the ring stays within 8 slices.
- Object Mute >: Sound Emitter, Sound (Perm) and Sounds....
- Avatar menu: Face nearest avatar and Avatar alignment..., then Controller overlay.
- Mini-map: Minimap.FaceTowards beside the new dot / map / mark / zone callbacks.
TheSlowly changed title from #198 Pie menus: Firestorm parity (and #1100 Compass) to #198 Pie menus: Firestorm parity, Slipstream's own items (and #1100 Compass) 2026-10-28 22:46:55 +00:00
#1250 moved Freeze, Send Home, Estate Kick and Parcel Eject into the avatar pie's More ring. Here they stay under Manage > (More is full with Teleport To, Give Card, Face towards and Copy >), with #1250's behaviour: hidden when unusable (on_visible), the "Parcel Eject" label and the no-ban tooltips.
TheSlowly changed title from #198 Pie menus: Firestorm parity, Slipstream's own items (and #1100 Compass) to #198 Pie menus: the full slice list, Slipstream's own items (and #1100 Compass) 2026-10-29 03:04:21 +00:00
The shooter-camera rows left the mouselook block of Move & View; "Context menus in Mouselook" now sits between "Show me in Mouselook" and "Show UI in Mouselook".
#624 is on main: "Context menus in Mouselook" sits between "Show me in Mouselook" and "Hide UI in Mouselook".
Owner

Review: close to merge, two things first.

  1. Face nearest avatar ignores @shownearby. onClickFaceNearestAvatar (fsfloateravataralign.cpp ~496-531) walks LLCharacter::sInstances within 20 m with no RLV check, so under @shownearby it can still turn you toward an avatar you can't see (behind a wall, or hidden by camavdist). Please return early when !RlvActions::canShowNearbyAgents(), and add the same check to canFaceAvatarID for consistency.
  2. Commit messages. Several commit subjects and bodies name another viewer and use "ported"/"copied" wording. That can't go into main's history. We'll squash-merge this with a hand-written message, so nothing for you to rewrite, just a heads-up for future branches: keep other viewers' names out of commit text.

#1299 is built on this branch, so it follows once this lands.

Review: close to merge, two things first. 1. **Face nearest avatar ignores `@shownearby`.** `onClickFaceNearestAvatar` (`fsfloateravataralign.cpp` ~496-531) walks `LLCharacter::sInstances` within 20 m with no RLV check, so under `@shownearby` it can still turn you toward an avatar you can't see (behind a wall, or hidden by camavdist). Please return early when `!RlvActions::canShowNearbyAgents()`, and add the same check to `canFaceAvatarID` for consistency. 2. **Commit messages.** Several commit subjects and bodies name another viewer and use "ported"/"copied" wording. That can't go into main's history. We'll squash-merge this with a hand-written message, so nothing for you to rewrite, just a heads-up for future branches: keep other viewers' names out of commit text. #1299 is built on this branch, so it follows once this lands.
The nearest avatar within 20 m was picked with no RLV check. Under @shownearby, Face nearest
avatar could turn you toward someone the restriction hides, behind a wall or past camavdist.
The button (and its shortcut) now does nothing while nearby avatars can't be shown, and
canFaceAvatarID says no, which disables Face Towards Avatar in the radar's and minimap's menus.

Test-Plan: With an RLV object applying @shownearby=n, the Avatar Align window's Face nearest
  avatar does nothing, and Face Towards Avatar is greyed out in the radar's and the minimap's
  right-click menus. With the restriction gone, both turn you as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Collaborator

Done in bc157be672: Face nearest avatar returns early under @shownearby. canFaceAvatarID now says no as well, which also greys out Face Towards Avatar in the radar's and minimap's menus.

Noted on the commit messages.

Done in bc157be672: Face nearest avatar returns early under `@shownearby`. `canFaceAvatarID` now says no as well, which also greys out Face Towards Avatar in the radar's and minimap's menus. Noted on the commit messages.
sky_line manually merged commit 176f616471 into main 2026-11-02 23:48:20 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!1170
No description provided.