aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Capabilities/Caps.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Capabilities/Caps.cs')
-rw-r--r--OpenSim/Framework/Communications/Capabilities/Caps.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs
index 1423e3a..a2e8042 100644
--- a/OpenSim/Framework/Communications/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs
@@ -440,7 +440,7 @@ namespace OpenSim.Framework.Communications.Capabilities
440 llsdItem.type = Enum.GetName(typeof(AssetType), invItem.AssetType).ToLower(); 440 llsdItem.type = Enum.GetName(typeof(AssetType), invItem.AssetType).ToLower();
441 llsdItem.inv_type = Enum.GetName(typeof(InventoryType), invItem.InvType).ToLower(); 441 llsdItem.inv_type = Enum.GetName(typeof(InventoryType), invItem.InvType).ToLower();
442 llsdItem.permissions = new LLSDPermissions(); 442 llsdItem.permissions = new LLSDPermissions();
443 llsdItem.permissions.creator_id = invItem.Creator; 443 llsdItem.permissions.creator_id = invItem.CreatorIdAsUuid;
444 llsdItem.permissions.base_mask = (int)invItem.CurrentPermissions; 444 llsdItem.permissions.base_mask = (int)invItem.CurrentPermissions;
445 llsdItem.permissions.everyone_mask = (int)invItem.EveryOnePermissions; 445 llsdItem.permissions.everyone_mask = (int)invItem.EveryOnePermissions;
446 llsdItem.permissions.group_id = UUID.Zero; 446 llsdItem.permissions.group_id = UUID.Zero;
@@ -789,7 +789,7 @@ namespace OpenSim.Framework.Communications.Capabilities
789 789
790 InventoryItemBase item = new InventoryItemBase(); 790 InventoryItemBase item = new InventoryItemBase();
791 item.Owner = m_agentID; 791 item.Owner = m_agentID;
792 item.Creator = m_agentID; 792 item.CreatorId = m_agentID.ToString();
793 item.ID = inventoryItem; 793 item.ID = inventoryItem;
794 item.AssetID = asset.FullID; 794 item.AssetID = asset.FullID;
795 item.Description = assetDescription; 795 item.Description = assetDescription;