Bug fix on posting assets onto foreign users inventory. Check that the key is already in the local asset map before adding it.
parent
36221a2c19
commit
e7a9ece410
|
@ -355,7 +355,8 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
|
|||
if (success)
|
||||
{
|
||||
m_log.Debug("[HGScene]: Successfully posted item to remote asset server " + userAssetURL);
|
||||
m_assetMap.Add(itemID, asscli);
|
||||
if (!m_assetMap.ContainsKey(itemID))
|
||||
m_assetMap.Add(itemID, asscli);
|
||||
}
|
||||
else
|
||||
m_log.Warn("[HGScene]: Could not post asset to remote asset server " + userAssetURL);
|
||||
|
|
Loading…
Reference in New Issue