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,6 +355,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
m_log.Debug("[HGScene]: Successfully posted item to remote asset server " + userAssetURL);
|
m_log.Debug("[HGScene]: Successfully posted item to remote asset server " + userAssetURL);
|
||||||
|
if (!m_assetMap.ContainsKey(itemID))
|
||||||
m_assetMap.Add(itemID, asscli);
|
m_assetMap.Add(itemID, asscli);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue