aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authordiva2009-01-30 23:53:41 +0000
committerdiva2009-01-30 23:53:41 +0000
commite7a9ece410eef77b7bb1a0ebb761c9d4edea69aa (patch)
tree8854c61eb203cbb723af3d3de73b75c51a202419 /OpenSim/Region/Environment
parentAdded a new method SendGroupRootUpdate to start addressing mantis #3019. ll f... (diff)
downloadopensim-SC-e7a9ece410eef77b7bb1a0ebb761c9d4edea69aa.zip
opensim-SC-e7a9ece410eef77b7bb1a0ebb761c9d4edea69aa.tar.gz
opensim-SC-e7a9ece410eef77b7bb1a0ebb761c9d4edea69aa.tar.bz2
opensim-SC-e7a9ece410eef77b7bb1a0ebb761c9d4edea69aa.tar.xz
Bug fix on posting assets onto foreign users inventory. Check that the key is already in the local asset map before adding it.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs b/OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs
index 928b7c8..3acaa21 100644
--- a/OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs
+++ b/OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs
@@ -355,7 +355,8 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
355 if (success) 355 if (success)
356 { 356 {
357 m_log.Debug("[HGScene]: Successfully posted item to remote asset server " + userAssetURL); 357 m_log.Debug("[HGScene]: Successfully posted item to remote asset server " + userAssetURL);
358 m_assetMap.Add(itemID, asscli); 358 if (!m_assetMap.ContainsKey(itemID))
359 m_assetMap.Add(itemID, asscli);
359 } 360 }
360 else 361 else
361 m_log.Warn("[HGScene]: Could not post asset to remote asset server " + userAssetURL); 362 m_log.Warn("[HGScene]: Could not post asset to remote asset server " + userAssetURL);