Add /zoffset_up and /zoffset_down command line command to increase / decrease avatar Z offset by 0.05 that can be invoked via user-definable gestures Firestorm_5.0.11

Fri, 05 Jan 2018 13:55:36 +0100

author
Ansariel
date
Fri, 05 Jan 2018 13:55:36 +0100
branch
Firestorm_5.0.11
changeset 53588
20ec98047524
parent 53587
c0989ea67746
child 53589
bd3223565b7a

Add /zoffset_up and /zoffset_down command line command to increase / decrease avatar Z offset by 0.05 that can be invoked via user-definable gestures

indra/newview/chatbar_as_cmdline.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/chatbar_as_cmdline.cpp	Wed Dec 20 17:01:47 2017 +0200
     1.2 +++ b/indra/newview/chatbar_as_cmdline.cpp	Fri Jan 05 13:55:36 2018 +0100
     1.3 @@ -805,6 +805,16 @@
     1.4  				}
     1.5  				return false;
     1.6  			}
     1.7 +			else if (command == "/zoffset_up")
     1.8 +			{
     1.9 +				gSavedPerAccountSettings.setF32("AvatarHoverOffsetZ", gSavedPerAccountSettings.getF32("AvatarHoverOffsetZ") + 0.05f);
    1.10 +				return false;
    1.11 +			}
    1.12 +			else if (command == "/zoffset_down")
    1.13 +			{
    1.14 +				gSavedPerAccountSettings.setF32("AvatarHoverOffsetZ", gSavedPerAccountSettings.getF32("AvatarHoverOffsetZ") - 0.05f);
    1.15 +				return false;
    1.16 +			}
    1.17  			else if (command == sFSCmdLineOfferTp())
    1.18  			{
    1.19  				LLUUID target_key;

mercurial