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
parent
2c743b12c6
commit
65097fa14e
|
|
@ -805,6 +805,16 @@ bool cmd_line_chat(const std::string& revised_text, EChatType type, bool from_ge
|
|||
}
|
||||
return false;
|
||||
}
|
||||
else if (command == "/zoffset_up")
|
||||
{
|
||||
gSavedPerAccountSettings.setF32("AvatarHoverOffsetZ", gSavedPerAccountSettings.getF32("AvatarHoverOffsetZ") + 0.05f);
|
||||
return false;
|
||||
}
|
||||
else if (command == "/zoffset_down")
|
||||
{
|
||||
gSavedPerAccountSettings.setF32("AvatarHoverOffsetZ", gSavedPerAccountSettings.getF32("AvatarHoverOffsetZ") - 0.05f);
|
||||
return false;
|
||||
}
|
||||
else if (command == sFSCmdLineOfferTp())
|
||||
{
|
||||
LLUUID target_key;
|
||||
|
|
|
|||
Loading…
Reference in New Issue