Skip to content

Commit 98e5777

Browse files
committed
New features : Floater that shows a compass, and let us align our avatar on cardinal points or face towards the nearest avatar, as well as some context menu items in minimap, nearby avatars and avatars to face towards a given avatar
1 parent 541e83b commit 98e5777

24 files changed

Lines changed: 1036 additions & 0 deletions

indra/newview/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ set(viewer_SOURCE_FILES
116116
fsfloateraddtocontactset.cpp
117117
fsfavoritegroups.cpp
118118
fsfloaterassetblacklist.cpp
119+
fsfloateravataralign.cpp
119120
fsfloateravatarrendersettings.cpp
120121
fsfloaterblocklist.cpp
121122
fsfloatercontacts.cpp
@@ -982,6 +983,7 @@ set(viewer_HEADER_FILES
982983
fsfloaterim.h
983984
fsfloaterimcontainer.h
984985
fsfloaternearbychat.h
986+
fsfloateravataralign.h
985987
fsfloaterpartialinventory.h
986988
fsfloaterplacedetails.h
987989
fsfloaterposer.h

indra/newview/app_settings/commands.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,4 +689,22 @@
689689
is_running_parameters="omnifilter"
690690
checkbox_control="OmnifilterEnabled"
691691
/>
692+
693+
<command name="avatar_align"
694+
available_in_toybox="true"
695+
icon="Command_AvatarAlign_Icon"
696+
label_ref="Command_AvatarAlign_Label"
697+
tooltip_ref="Command_AvatarAlign_Tooltip"
698+
execute_function="Avatar.AlignToggle"
699+
is_running_function="Avatar.AlignIsOpen"
700+
/>
701+
702+
<command name="face_nearest_avatar"
703+
available_in_toybox="true"
704+
icon="Command_FaceNearest_Icon"
705+
label_ref="Command_FaceNearest_Label"
706+
tooltip_ref="Command_FaceNearest_Tooltip"
707+
execute_function="Avatar.FaceNearest"
708+
/>
709+
692710
</commands>

indra/newview/app_settings/settings.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,6 +2252,17 @@
22522252
<key>Value</key>
22532253
<string>https://lecs-viewer-web-components.s3.amazonaws.com/v3.0/[GRID_LOWERCASE]/vawp/index.html</string>
22542254
</map>
2255+
<key>AvatarAlignMini</key>
2256+
<map>
2257+
<key>Comment</key>
2258+
<string>Use the compact mini compass floater instead of the full compass.</string>
2259+
<key>Persist</key>
2260+
<integer>1</integer>
2261+
<key>Type</key>
2262+
<string>Boolean</string>
2263+
<key>Value</key>
2264+
<integer>0</integer>
2265+
</map>
22552266
<!--AvatarBakedTextureUploadTimeout is in use by QA-->
22562267
<key>AvatarBakedTextureUploadTimeout</key>
22572268
<map>

0 commit comments

Comments
 (0)