aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-07 07:42:03 +0000
committerTeravus Ovares2007-12-07 07:42:03 +0000
commit57f666497bef6a68df9cc6e37ccf288c462a37b5 (patch)
tree4a1f4c3061ddca46fbe789191b45a6967a7a6889 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
parentadded timer_Script to OpenSim.ini.example (diff)
downloadopensim-SC_OLD-57f666497bef6a68df9cc6e37ccf288c462a37b5.zip
opensim-SC_OLD-57f666497bef6a68df9cc6e37ccf288c462a37b5.tar.gz
opensim-SC_OLD-57f666497bef6a68df9cc6e37ccf288c462a37b5.tar.bz2
opensim-SC_OLD-57f666497bef6a68df9cc6e37ccf288c462a37b5.tar.xz
* Added hacked support for 'anyone can move' and 'anyone can copy'.
* BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar). * Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set). * It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index dbcd332..6c8b3bf 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -448,6 +448,9 @@ namespace OpenSim.Region.Environment.Scenes
448 item.parentFolderID = DeRezPacket.AgentBlock.DestinationID; 448 item.parentFolderID = DeRezPacket.AgentBlock.DestinationID;
449 item.inventoryCurrentPermissions = 2147483647; 449 item.inventoryCurrentPermissions = 2147483647;
450 item.inventoryNextPermissions = 2147483647; 450 item.inventoryNextPermissions = 2147483647;
451 item.inventoryEveryOnePermissions = ((SceneObjectGroup)selectedEnt).RootPart.EveryoneMask;
452 item.inventoryBasePermissions = ((SceneObjectGroup)selectedEnt).RootPart.BaseMask;
453 item.inventoryCurrentPermissions = ((SceneObjectGroup)selectedEnt).RootPart.OwnerMask;
451 454
452 userInfo.AddItem(remoteClient.AgentId, item); 455 userInfo.AddItem(remoteClient.AgentId, item);
453 remoteClient.SendInventoryItemCreateUpdate(item); 456 remoteClient.SendInventoryItemCreateUpdate(item);