aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-05-04 15:02:14 +0000
committerJustin Clarke Casey2009-05-04 15:02:14 +0000
commit509ec2637bd178c270106725297da7f6a1180096 (patch)
tree9b06a74531cf1e18da7cf62cfa8f8e73626a9a64 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
parentAdd a method to flush the prim update buffers once a frame, since the timer (diff)
downloadopensim-SC_OLD-509ec2637bd178c270106725297da7f6a1180096.zip
opensim-SC_OLD-509ec2637bd178c270106725297da7f6a1180096.tar.gz
opensim-SC_OLD-509ec2637bd178c270106725297da7f6a1180096.tar.bz2
opensim-SC_OLD-509ec2637bd178c270106725297da7f6a1180096.tar.xz
* Refactor: Simplify InventoryFolderImpl. No functional change.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
index 833b64a..9c45fd2 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
@@ -126,11 +126,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
126 string filename = string.Format("{0}{1}_{2}.xml", path, inventoryItem.Name, inventoryItem.ID); 126 string filename = string.Format("{0}{1}_{2}.xml", path, inventoryItem.Name, inventoryItem.ID);
127 string serialization = UserInventoryItemSerializer.Serialize(inventoryItem); 127 string serialization = UserInventoryItemSerializer.Serialize(inventoryItem);
128 m_archive.WriteFile(filename, serialization); 128 m_archive.WriteFile(filename, serialization);
129
130 UUID creatorId = inventoryItem.CreatorIdAsUuid;
131 129
132 // Record the creator of this item 130 // Record the creator of this item for user record purposes (which might go away soon)
133 m_userUuids[creatorId] = 1; 131 m_userUuids[inventoryItem.CreatorIdAsUuid] = 1;
134 132
135 m_assetGatherer.GatherAssetUuids(inventoryItem.AssetID, (AssetType)inventoryItem.AssetType, m_assetUuids); 133 m_assetGatherer.GatherAssetUuids(inventoryItem.AssetID, (AssetType)inventoryItem.AssetType, m_assetUuids);
136 } 134 }