diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 3 |
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); |