Add script teleport permission
This commit is contained in:
@@ -219,19 +219,20 @@ const F32 OFFER_THROTTLE_TIME=10.f; //time period in seconds
|
||||
|
||||
//script permissions
|
||||
const std::string SCRIPT_QUESTIONS[SCRIPT_PERMISSION_EOF] =
|
||||
{
|
||||
"ScriptTakeMoney",
|
||||
"ActOnControlInputs",
|
||||
"RemapControlInputs",
|
||||
"AnimateYourAvatar",
|
||||
"AttachToYourAvatar",
|
||||
"ReleaseOwnership",
|
||||
"LinkAndDelink",
|
||||
"AddAndRemoveJoints",
|
||||
"ChangePermissions",
|
||||
"TrackYourCamera",
|
||||
"ControlYourCamera"
|
||||
};
|
||||
{
|
||||
"ScriptTakeMoney",
|
||||
"ActOnControlInputs",
|
||||
"RemapControlInputs",
|
||||
"AnimateYourAvatar",
|
||||
"AttachToYourAvatar",
|
||||
"ReleaseOwnership",
|
||||
"LinkAndDelink",
|
||||
"AddAndRemoveJoints",
|
||||
"ChangePermissions",
|
||||
"TrackYourCamera",
|
||||
"ControlYourCamera",
|
||||
"TeleportYourAgent"
|
||||
};
|
||||
|
||||
const BOOL SCRIPT_QUESTION_IS_CAUTION[SCRIPT_PERMISSION_EOF] =
|
||||
{
|
||||
@@ -245,7 +246,8 @@ const BOOL SCRIPT_QUESTION_IS_CAUTION[SCRIPT_PERMISSION_EOF] =
|
||||
FALSE, // AddAndRemoveJoints
|
||||
FALSE, // ChangePermissions
|
||||
FALSE, // TrackYourCamera,
|
||||
FALSE // ControlYourCamera
|
||||
FALSE, // ControlYourCamera
|
||||
FALSE // TeleportYourAgent
|
||||
};
|
||||
|
||||
bool friendship_offer_callback(const LLSD& notification, const LLSD& response)
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<string name="AddAndRemoveJoints">Add and remove joints with other objects</string>
|
||||
<string name="ChangePermissions">Change its permissions</string>
|
||||
<string name="TrackYourCamera">Track your camera</string>
|
||||
<string name="TeleportYourAgent">Teleport you</string>
|
||||
<string name="ControlYourCamera">Control your camera</string>
|
||||
<layout_stack border="false" bottom="0" follows="left|top|right|bottom" height="260" left="0" orientation="horizontal" width="430" name="panels">
|
||||
<layout_panel border="false" bottom="0" default_tab_group="1" height="135" left="0" min_width="275" name="im_contents_panel" width="305">
|
||||
|
||||
@@ -60,6 +60,9 @@
|
||||
<string name="ControlYourCamera">
|
||||
Controlar tu cámara
|
||||
</string>
|
||||
<string name="TeleportYourAgent">
|
||||
Teleportarte
|
||||
</string>
|
||||
<layout_stack name="panels">
|
||||
<layout_panel name="im_contents_panel">
|
||||
<combo_box label="Gestos" name="Gesture">
|
||||
|
||||
@@ -60,6 +60,9 @@
|
||||
<string name="ControlYourCamera">
|
||||
Contrôler votre caméra
|
||||
</string>
|
||||
<string name="TeleportYourAgent">
|
||||
Vous téléporter
|
||||
</string>
|
||||
<layout_stack name="panels">
|
||||
<layout_panel name="im_contents_panel">
|
||||
<combo_box label="Gestures" name="Gesture">
|
||||
|
||||
Reference in New Issue
Block a user