diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | 6 |
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 | } |