diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 7ea538c..110e50e 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -51,6 +51,7 @@ using RegionFlags = OpenMetaverse.RegionFlags; | |||
51 | using Nini.Config; | 51 | using Nini.Config; |
52 | 52 | ||
53 | using System.IO; | 53 | using System.IO; |
54 | using PermissionMask = OpenSim.Framework.PermissionMask; | ||
54 | 55 | ||
55 | namespace OpenSim.Region.ClientStack.LindenUDP | 56 | namespace OpenSim.Region.ClientStack.LindenUDP |
56 | { | 57 | { |
@@ -1808,7 +1809,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1808 | 1809 | ||
1809 | public void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item) | 1810 | public void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item) |
1810 | { | 1811 | { |
1811 | const uint FULL_MASK_PERMISSIONS = (uint)PermissionMask.All; | 1812 | // Fudge this value. It's only needed to make the CRC anyway |
1813 | const uint FULL_MASK_PERMISSIONS = (uint)0x7fffffff; | ||
1812 | 1814 | ||
1813 | FetchInventoryReplyPacket inventoryReply = (FetchInventoryReplyPacket)PacketPool.Instance.GetPacket(PacketType.FetchInventoryReply); | 1815 | FetchInventoryReplyPacket inventoryReply = (FetchInventoryReplyPacket)PacketPool.Instance.GetPacket(PacketType.FetchInventoryReply); |
1814 | // TODO: don't create new blocks if recycling an old packet | 1816 | // TODO: don't create new blocks if recycling an old packet |
@@ -2013,7 +2015,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2013 | 2015 | ||
2014 | protected void SendBulkUpdateInventoryItem(InventoryItemBase item) | 2016 | protected void SendBulkUpdateInventoryItem(InventoryItemBase item) |
2015 | { | 2017 | { |
2016 | const uint FULL_MASK_PERMISSIONS = (uint)PermissionMask.All; | 2018 | const uint FULL_MASK_PERMISSIONS = (uint)0x7ffffff; |
2017 | 2019 | ||
2018 | BulkUpdateInventoryPacket bulkUpdate | 2020 | BulkUpdateInventoryPacket bulkUpdate |
2019 | = (BulkUpdateInventoryPacket)PacketPool.Instance.GetPacket(PacketType.BulkUpdateInventory); | 2021 | = (BulkUpdateInventoryPacket)PacketPool.Instance.GetPacket(PacketType.BulkUpdateInventory); |
@@ -2067,7 +2069,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2067 | /// <see>IClientAPI.SendInventoryItemCreateUpdate(InventoryItemBase)</see> | 2069 | /// <see>IClientAPI.SendInventoryItemCreateUpdate(InventoryItemBase)</see> |
2068 | public void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId) | 2070 | public void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId) |
2069 | { | 2071 | { |
2070 | const uint FULL_MASK_PERMISSIONS = (uint)PermissionMask.All; | 2072 | const uint FULL_MASK_PERMISSIONS = (uint)0x7fffffff; |
2071 | 2073 | ||
2072 | UpdateCreateInventoryItemPacket InventoryReply | 2074 | UpdateCreateInventoryItemPacket InventoryReply |
2073 | = (UpdateCreateInventoryItemPacket)PacketPool.Instance.GetPacket( | 2075 | = (UpdateCreateInventoryItemPacket)PacketPool.Instance.GetPacket( |