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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue