Skip to content
Snippets Groups Projects
Commit cfdb4097 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Spruce up self avatar menus

parent 6194667b
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,24 @@ ...@@ -2,6 +2,24 @@
<context_menu <context_menu
layout="topleft" layout="topleft"
name="Attachment Pie"> name="Attachment Pie">
<menu_item_call
enabled="false"
label="Touch item"
layout="topleft"
name="Attachment Object Touch">
<menu_item_call.on_click
function="Object.Touch" />
<menu_item_call.on_enable
function="Object.EnableTouch"
name="EnableTouch"/>
</menu_item_call>
<menu_item_call
label="Show in inventory"
layout="topleft"
name="Show original">
<menu_item_call.on_click
function="Object.ShowOriginal" />
</menu_item_call>
<menu_item_call <menu_item_call
enabled="true" enabled="true"
label="Edit item" label="Edit item"
...@@ -29,113 +47,90 @@ ...@@ -29,113 +47,90 @@
function="Attachment.Detach" /> function="Attachment.Detach" />
<menu_item_call.on_enable <menu_item_call.on_enable
function="Attachment.EnableDetach" /> function="Attachment.EnableDetach" />
</menu_item_call>
<menu_item_call
enabled="false"
label="Touch item"
layout="topleft"
name="Attachment Object Touch">
<menu_item_call.on_click
function="Object.Touch" />
<menu_item_call.on_enable
function="Object.EnableTouch"
name="EnableTouch"/>
</menu_item_call>
<menu_item_call
label="Show in inventory"
layout="topleft"
name="Show original">
<menu_item_call.on_click
function="Object.ShowOriginal" />
</menu_item_call> </menu_item_call>
<menu_item_separator <menu_item_separator
layout="topleft" /> layout="topleft" />
<menu_item_call <context_menu
label="Object Profile" label="Appearance"
name="Object Profile"> layout="topleft"
<menu_item_call.on_click name="AppearanceSubmenu">
function="Object.Inspect" /> <menu_item_call
</menu_item_call> label="Now wearing..."
<menu_item_call name="NowWearing">
label="Inspect" <menu_item_call.on_click
name="Object Inspect"> function="NowWearing" />
<menu_item_call.on_click <menu_item_call.on_enable
function="Floater.ShowOrBringToFront" function="Edit.EnableCustomizeAvatar" />
parameter="inspect" /> </menu_item_call>
</menu_item_call> <menu_item_call
<menu_item_call label="My Outfits..."
label="Copy Object UUID" name="Change Outfit">
name="Copy Object ID"> <menu_item_call.on_click
<menu_item_call.on_click function="CustomizeAvatar" />
function="Object.CopyID" /> <menu_item_call.on_enable
</menu_item_call> function="Edit.EnableCustomizeAvatar" />
<menu_item_separator </menu_item_call>
<menu_item_call label="Shape..."
layout="topleft"
name="Edit Shape">
<menu_item_call.on_click
function="EditShape" />
<menu_item_call.on_enable
function="Edit.EnableEditShape" />
</menu_item_call>
<menu_item_call label="Edit outfit parts..."
layout="topleft"
name="Edit Outfit">
<menu_item_call.on_click
function="EditOutfit" />
<menu_item_call.on_enable
function="Edit.EnableCustomizeAvatar" />
</menu_item_call>
<menu_item_call label="Hover height..."
layout="topleft"
name="Hover Height">
<menu_item_call.on_click
function="HoverHeight" />
<menu_item_call.on_enable
function="Edit.EnableHoverHeight" />
</menu_item_call>
<menu_item_separator
layout="topleft" /> layout="topleft" />
<menu_item_call <menu_item_call
label="My Profile" label="Refresh Textures"
layout="topleft" name="Refresh Textures">
name="Profile...">
<menu_item_call.on_click
function="ShowAgentProfile"
parameter="agent" />
</menu_item_call>
<menu_item_call
label="My Friends"
layout="topleft"
name="Friends...">
<menu_item_call.on_click
function="SideTray.PanelPeopleTab"
parameter="friends_panel" />
</menu_item_call>
<menu_item_call
label="My Groups"
layout="topleft"
name="Groups...">
<menu_item_call.on_click <menu_item_call.on_click
function="SideTray.PanelPeopleTab" function="Avatar.RefreshTexture" />
parameter="groups_panel" /> </menu_item_call>
</menu_item_call> <menu_item_call label="Reset skeleton"
<menu_item_separator/> layout="topleft"
<menu_item_call name="Reset Skeleton">
label="Now wearing..." <menu_item_call.on_click
name="NowWearing"> function="Avatar.ResetSkeleton" />
<menu_item_call.on_click </menu_item_call>
function="NowWearing" /> <menu_item_call label="Reset skeleton and animations"
<menu_item_call.on_enable layout="topleft"
function="Edit.EnableCustomizeAvatar" /> name="Reset Skeleton And Animations">
</menu_item_call> <menu_item_call.on_click
<menu_item_call function="Avatar.ResetSkeletonAndAnimations" />
label="My Outfits..." </menu_item_call>
name="Change Outfit"> <menu_item_call
<menu_item_call.on_click label="Debug Textures"
function="CustomizeAvatar" /> name="Debug...">
<menu_item_call.on_enable <menu_item_call.on_click
function="Edit.EnableCustomizeAvatar" /> function="Avatar.Debug" />
</menu_item_call> <menu_item_call.on_visible
<menu_item_call label="Hover height..." function="IsGodCustomerService"/>
layout="topleft" </menu_item_call>
name="Hover Height"> <menu_item_call
<menu_item_call.on_click label="Dump XML"
function="HoverHeight" /> name="Dump XML">
<menu_item_call.on_enable <menu_item_call.on_click
function="Edit.EnableHoverHeight" /> function="Advanced.AppearanceToXML" />
</menu_item_call> <menu_item_call.on_visible
<menu_item_call label="Shape..." function="Advanced.EnableAppearanceToXML"/>
layout="topleft" </menu_item_call>
name="Edit Shape"> </context_menu>
<menu_item_call.on_click
function="EditShape" />
<menu_item_call.on_enable
function="Edit.EnableEditShape" />
</menu_item_call>
<menu_item_call label="Edit outfit parts..."
layout="topleft"
name="Edit Outfit">
<menu_item_call.on_click
function="EditOutfit" />
<menu_item_call.on_enable
function="Edit.EnableCustomizeAvatar" />
</menu_item_call>
<context_menu <context_menu
label="Take off" label="Take off"
layout="topleft" layout="topleft"
...@@ -343,53 +338,110 @@ ...@@ -343,53 +338,110 @@
function="Tools.StopAllAnimations" /> function="Tools.StopAllAnimations" />
</menu_item_call> </menu_item_call>
<menu_item_separator/> <menu_item_separator/>
<context_menu
label="Community"
layout="topleft"
name="CommunityCtx">
<menu_item_call
label="My Profile"
layout="topleft"
name="Profile...">
<menu_item_call.on_click
function="ShowAgentProfile"
parameter="agent" />
</menu_item_call>
<menu_item_call <menu_item_call
label="Refresh Textures" label="My Friends"
name="Refresh Textures"> layout="topleft"
name="Friends...">
<menu_item_call.on_click
function="SideTray.PanelPeopleTab"
parameter="friends_panel" />
</menu_item_call>
<menu_item_call
label="My Groups"
layout="topleft"
name="Groups...">
<menu_item_call.on_click
function="SideTray.PanelPeopleTab"
parameter="groups_panel" />
</menu_item_call>
</context_menu>
<menu_item_separator
layout="topleft" />
<context_menu
label="Actions"
layout="topleft"
name="ActionsCtx">
<menu_item_call
label="Copy Object UUID"
name="Copy Object ID">
<menu_item_call.on_click
function="Object.CopyID" />
</menu_item_call>
<menu_item_separator
layout="topleft" />
<menu_item_call
label="Copy Full Name"
name="copy_full_name">
<menu_item_call.on_click <menu_item_call.on_click
function="Avatar.RefreshTexture" /> function="Avatar.CopyData"
parameter="full_name"/>
<menu_item_call.on_enable
function="RLV.CanShowName" />
</menu_item_call> </menu_item_call>
<menu_item_call label="Reset skeleton" <menu_item_call
layout="topleft" label="Copy Display Name"
name="Reset Skeleton"> name="copy_display_name">
<menu_item_call.on_click <menu_item_call.on_click
function="Avatar.ResetSkeleton" /> function="Avatar.CopyData"
parameter="display_name"/>
<menu_item_call.on_enable
function="RLV.CanShowName" />
</menu_item_call> </menu_item_call>
<menu_item_call label="Reset skeleton and animations" <menu_item_call
layout="topleft" label="Copy Agent Name"
name="Reset Skeleton And Animations"> name="copy_username">
<menu_item_call.on_click <menu_item_call.on_click
function="Avatar.ResetSkeletonAndAnimations" /> function="Avatar.CopyData"
parameter="user_name"/>
<menu_item_call.on_enable
function="RLV.CanShowName" />
</menu_item_call> </menu_item_call>
<menu_item_call <menu_item_call
label="Debug Textures" label="Copy SLurl"
name="Debug..."> name="copy_slurl">
<menu_item_call.on_click <menu_item_call.on_click
function="Avatar.Debug" /> function="Avatar.CopyData"
<menu_item_call.on_visible parameter="slurl"/>
function="IsGodCustomerService"/> <menu_item_call.on_enable
function="RLV.CanShowName" />
</menu_item_call> </menu_item_call>
<menu_item_call
label="Dump XML"
name="Dump XML">
<menu_item_call.on_click
function="Advanced.AppearanceToXML" />
<menu_item_call.on_visible
function="Advanced.EnableAppearanceToXML"/>
</menu_item_call>
<menu_item_call <menu_item_call
enabled="false" label="Copy Avatar UUID"
label="Block Particle Owner" name="Copy Agent ID">
name="Mute Particle">
<menu_item_call.on_click <menu_item_call.on_click
function="Particle.Mute" /> function="Avatar.CopyData"
<menu_item_call.on_visible parameter="id"/>
function="EnableMuteParticle" />
</menu_item_call> </menu_item_call>
</context_menu>
<menu_item_separator <menu_item_separator
layout="topleft" /> layout="topleft" />
<menu_item_call
label="Object Profile"
name="Object Profile">
<menu_item_call.on_click
function="Object.Inspect" />
</menu_item_call>
<menu_item_call
label="Inspect"
name="Object Inspect">
<menu_item_call.on_click
function="Floater.ShowOrBringToFront"
parameter="inspect" />
</menu_item_call>
<menu_item_separator
layout="topleft" />
<menu_item_call <menu_item_call
enabled="false" enabled="false"
label="Drop item" label="Drop item"
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
parameter="groups_panel" /> parameter="groups_panel" />
</menu_item_call> </menu_item_call>
<menu_item_separator/> <menu_item_separator/>
<context_menu
label="Appearance"
layout="topleft"
name="AppearanceSubmenu">
<menu_item_call <menu_item_call
label="Now wearing..." label="Now wearing..."
layout="topleft" layout="topleft"
...@@ -45,14 +49,6 @@ ...@@ -45,14 +49,6 @@
<menu_item_call.on_enable <menu_item_call.on_enable
function="Edit.EnableCustomizeAvatar" /> function="Edit.EnableCustomizeAvatar" />
</menu_item_call> </menu_item_call>
<menu_item_call label="Hover height..."
layout="topleft"
name="Hover Height">
<menu_item_call.on_click
function="HoverHeight" />
<menu_item_call.on_enable
function="Edit.EnableHoverHeight" />
</menu_item_call>
<menu_item_call label="Shape..." <menu_item_call label="Shape..."
layout="topleft" layout="topleft"
name="Edit Shape"> name="Edit Shape">
...@@ -70,6 +66,50 @@ ...@@ -70,6 +66,50 @@
<menu_item_call.on_enable <menu_item_call.on_enable
function="Edit.EnableCustomizeAvatar" /> function="Edit.EnableCustomizeAvatar" />
</menu_item_call> </menu_item_call>
<menu_item_call label="Hover height..."
layout="topleft"
name="Hover Height">
<menu_item_call.on_click
function="HoverHeight" />
<menu_item_call.on_enable
function="Edit.EnableHoverHeight" />
</menu_item_call>
<menu_item_separator/>
<menu_item_call
label="Refresh Textures"
name="Refresh Textures">
<menu_item_call.on_click
function="Avatar.RefreshTexture" />
</menu_item_call>
<menu_item_call label="Reset skeleton"
layout="topleft"
name="Reset Skeleton">
<menu_item_call.on_click
function="Avatar.ResetSkeleton" />
</menu_item_call>
<menu_item_call label="Reset skeleton and animations"
layout="topleft"
name="Reset Skeleton And Animations">
<menu_item_call.on_click
function="Avatar.ResetSkeletonAndAnimations" />
</menu_item_call>
<menu_item_call
label="Debug Textures"
name="Debug...">
<menu_item_call.on_click
function="Avatar.Debug" />
<menu_item_call.on_visible
function="IsGodCustomerService"/>
</menu_item_call>
<menu_item_call
label="Dump XML"
name="Dump XML">
<menu_item_call.on_click
function="Advanced.AppearanceToXML" />
<menu_item_call.on_visible
function="Advanced.EnableAppearanceToXML"/>
</menu_item_call>
</context_menu>
<context_menu <context_menu
label="Take off" label="Take off"
layout="topleft" layout="topleft"
...@@ -277,48 +317,52 @@ ...@@ -277,48 +317,52 @@
function="Tools.StopAllAnimations" /> function="Tools.StopAllAnimations" />
</menu_item_call> </menu_item_call>
<menu_item_separator/> <menu_item_separator/>
<context_menu
label="Actions"
layout="topleft"
name="ActionsCtx">
<menu_item_call
label="Copy Full Name"
name="copy_full_name">
<menu_item_call.on_click
function="Avatar.CopyData"
parameter="full_name"/>
<menu_item_call.on_enable
function="RLV.CanShowName" />
</menu_item_call>
<menu_item_call <menu_item_call
label="Refresh Textures" label="Copy Display Name"
name="Refresh Textures"> name="copy_display_name">
<menu_item_call.on_click <menu_item_call.on_click
function="Avatar.RefreshTexture" /> function="Avatar.CopyData"
parameter="display_name"/>
<menu_item_call.on_enable
function="RLV.CanShowName" />
</menu_item_call> </menu_item_call>
<menu_item_call label="Reset skeleton" <menu_item_call
layout="topleft" label="Copy Agent Name"
name="Reset Skeleton"> name="copy_username">
<menu_item_call.on_click <menu_item_call.on_click
function="Avatar.ResetSkeleton" /> function="Avatar.CopyData"
parameter="user_name"/>
<menu_item_call.on_enable
function="RLV.CanShowName" />
</menu_item_call> </menu_item_call>
<menu_item_call label="Reset skeleton and animations" <menu_item_call
layout="topleft" label="Copy SLurl"
name="Reset Skeleton And Animations"> name="copy_slurl">
<menu_item_call.on_click <menu_item_call.on_click
function="Avatar.ResetSkeletonAndAnimations" /> function="Avatar.CopyData"
parameter="slurl"/>
<menu_item_call.on_enable
function="RLV.CanShowName" />
</menu_item_call> </menu_item_call>
<menu_item_call
label="Debug Textures"
name="Debug...">
<menu_item_call.on_click
function="Avatar.Debug" />
<menu_item_call.on_visible
function="IsGodCustomerService"/>
</menu_item_call>
<menu_item_call
label="Dump XML"
name="Dump XML">
<menu_item_call.on_click
function="Advanced.AppearanceToXML" />
<menu_item_call.on_visible
function="Advanced.EnableAppearanceToXML"/>
</menu_item_call>
<menu_item_call <menu_item_call
enabled="false" label="Copy Avatar UUID"
label="Block Particle Owner" name="Copy Agent ID">
name="Mute Particle">
<menu_item_call.on_click <menu_item_call.on_click
function="Particle.Mute" /> function="Avatar.CopyData"
parameter="id"/>
<menu_item_call.on_visible
function="EnableMuteParticle" />
</menu_item_call> </menu_item_call>
</context_menu>
</context_menu> </context_menu>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment