diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs index 1a3c4c8..f7db908 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs | |||
@@ -226,9 +226,12 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid | |||
226 | { | 226 | { |
227 | TaskInventoryDictionary tinv = sog.RootPart.TaskInventory; | 227 | TaskInventoryDictionary tinv = sog.RootPart.TaskInventory; |
228 | 228 | ||
229 | foreach (TaskInventoryItem titem in tinv.Values) | 229 | lock (tinv) |
230 | { | 230 | { |
231 | uuids.Add(titem.AssetID, (InventoryType)titem.Type == InventoryType.Texture); | 231 | foreach (TaskInventoryItem titem in tinv.Values) |
232 | { | ||
233 | uuids.Add(titem.AssetID, (InventoryType)titem.Type == InventoryType.Texture); | ||
234 | } | ||
232 | } | 235 | } |
233 | } | 236 | } |
234 | 237 | ||