Add code that forces an error if compiled in LSO to all scripts
This should prevent accidents when saving in inventory in the official viewer.
This commit is contained in:
parent
9c84243390
commit
f1ec6bde26
22 changed files with 46 additions and 32 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
integer COMM_CHANNEL = -57841689;
|
||||
integer comm_handle;
|
||||
list A = [comm_handle]; //OSS::list A; // Force error if not compiled in Mono
|
||||
|
||||
list findPrimsWithSubstring(string name)
|
||||
{
|
||||
|
|
|
@ -77,7 +77,7 @@ integer COMM_CHANNEL = -57841689;
|
|||
integer comm_handle;
|
||||
key avatar;
|
||||
list links;
|
||||
list ring_prims;
|
||||
list ring_prims = [avatar]; //OSS::list ring_prims; // Force error if not compiled in Mono
|
||||
integer all_poses = -2; // cache the position of the "*" if it exists, for performance
|
||||
|
||||
goChain(list new_links)
|
||||
|
|
|
@ -27,7 +27,7 @@ list XCITE_TILT;
|
|||
integer TIMER_DEFAULT = 30;
|
||||
string CURRENT_POSE;
|
||||
list TIMERS;
|
||||
list SITTERS;
|
||||
list SITTERS = [CURRENT_POSE]; //OSS::list SITTERS; // Force error if not compiled in Mono
|
||||
integer DEBUG;
|
||||
|
||||
Out(integer level, string out)
|
||||
|
|
|
@ -27,7 +27,7 @@ key SLAVE;
|
|||
string menu;
|
||||
integer menuPage;
|
||||
list folderPath;
|
||||
list folderOptions;
|
||||
list folderOptions = [menu]; //OSS::list folderOptions; // Force error in LSO
|
||||
list folderNamesFullLength;
|
||||
list CLOTHING_LAYERS = ["gloves", "jacket", "pants", "shirt", "shoes", "skirt", "socks", "underpants", "undershirt", "", "", "", "", "alpha", "tattoo"];
|
||||
list ATTACHMENT_POINTS = ["", "chest", "skull", "left shoulder", "right shoulder", "left hand", "right hand", "left foot", "right foot", "spine", "pelvis", "mouth", "chin", "left ear", "right ear", "left eyeball", "right eyeball", "nose", "r upper arm", "r forearm", "l upper arm", "l forearm", "right hip", "r upper leg", "r lower leg", "left hip", "l upper leg", "l lower leg", "stomach", "left pec", "right pec", "", "", "", "", "", "", "", "", "neck", "root"];
|
||||
|
|
|
@ -49,7 +49,7 @@ integer SEARCHhandle;
|
|||
integer CHECKhandle;
|
||||
integer ASKROLEhandle;
|
||||
list DETECTED_AVATAR_SHORTNAMES;
|
||||
list DETECTED_AVATAR_KEYS;
|
||||
list DETECTED_AVATAR_KEYS = [WAITPOSE]; //OSS::list DETECTED_AVATAR_KEYS; // Force error in LSO
|
||||
integer awaiting_results;
|
||||
string baseCaptureRestrictions = "@unsit=n";
|
||||
string baseReleaseRestrictions = "@unsit=force";
|
||||
|
|
|
@ -22,7 +22,7 @@ list DESIGNATIONS_NOW;
|
|||
key CONTROLLER = NULL_KEY;
|
||||
integer KEY_TAKEN;
|
||||
string CONTROLLER_NAME;
|
||||
list SITTERS_MENUKEYS;
|
||||
list SITTERS_MENUKEYS = [CONTROLLER_NAME]; //OSS::list SITTERS_MENUKEYS; // Force error in LSO
|
||||
list SITTERS_SHORTNAMES;
|
||||
integer menu_channel;
|
||||
integer menu_handle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue