aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorHomer Horwitz2008-12-06 22:51:41 +0000
committerHomer Horwitz2008-12-06 22:51:41 +0000
commit6ab09bc1391b5fa1429a01dcb00bdbf2fb507972 (patch)
tree3d567c26eae71fe0ff747025a701c799fecd9b15 /OpenSim
parentAnd change OpenSim.ini.example back. Too many copies out there already to tak... (diff)
downloadopensim-SC_OLD-6ab09bc1391b5fa1429a01dcb00bdbf2fb507972.zip
opensim-SC_OLD-6ab09bc1391b5fa1429a01dcb00bdbf2fb507972.tar.gz
opensim-SC_OLD-6ab09bc1391b5fa1429a01dcb00bdbf2fb507972.tar.bz2
opensim-SC_OLD-6ab09bc1391b5fa1429a01dcb00bdbf2fb507972.tar.xz
Send the creation-date of items to the viewer. This fixes Mantis#2769.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Capabilities/Caps.cs2
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs
index b4a0473..c83c2a6 100644
--- a/OpenSim/Framework/Communications/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs
@@ -397,7 +397,7 @@ namespace OpenSim.Framework.Communications.Capabilities
397 { 397 {
398 LLSDInventoryItem llsdItem = new LLSDInventoryItem(); 398 LLSDInventoryItem llsdItem = new LLSDInventoryItem();
399 llsdItem.asset_id = invItem.AssetID; 399 llsdItem.asset_id = invItem.AssetID;
400 llsdItem.created_at = 1000; 400 llsdItem.created_at = invItem.CreationDate;
401 llsdItem.desc = invItem.Description; 401 llsdItem.desc = invItem.Description;
402 llsdItem.flags = 0; 402 llsdItem.flags = 0;
403 llsdItem.item_id = invItem.ID; 403 llsdItem.item_id = invItem.ID;
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index bca9b91..8aa70c9 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -1734,8 +1734,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1734 inventoryReply.InventoryData[0].AssetID = item.AssetID; 1734 inventoryReply.InventoryData[0].AssetID = item.AssetID;
1735 inventoryReply.InventoryData[0].CreatorID = item.Creator; 1735 inventoryReply.InventoryData[0].CreatorID = item.Creator;
1736 inventoryReply.InventoryData[0].BaseMask = item.BasePermissions; 1736 inventoryReply.InventoryData[0].BaseMask = item.BasePermissions;
1737 inventoryReply.InventoryData[0].CreationDate = 1737 inventoryReply.InventoryData[0].CreationDate = item.CreationDate;
1738 (int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; 1738
1739 inventoryReply.InventoryData[0].Description = Utils.StringToBytes(item.Description); 1739 inventoryReply.InventoryData[0].Description = Utils.StringToBytes(item.Description);
1740 inventoryReply.InventoryData[0].EveryoneMask = item.EveryOnePermissions; 1740 inventoryReply.InventoryData[0].EveryoneMask = item.EveryOnePermissions;
1741 inventoryReply.InventoryData[0].FolderID = item.Folder; 1741 inventoryReply.InventoryData[0].FolderID = item.Folder;