in HGAssetBroker do cache all if asset id changed

LSLKeyTest
UbitUmarov 2016-08-21 04:56:23 +01:00
parent b566be4f82
commit 963b296f93
1 changed files with 7 additions and 5 deletions

View File

@ -367,12 +367,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
if (String.IsNullOrEmpty(id))
return string.Empty;
asset.ID = id;
if(asset.ID != id)
{
asset.ID = id;
if (m_Cache != null)
m_Cache.Cache(asset);
}
if (isHG && m_Cache != null)
m_Cache.Cache(asset);
return id;
return id;
}
public bool UpdateContent(string id, byte[] data)