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,10 +367,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
if (String.IsNullOrEmpty(id)) if (String.IsNullOrEmpty(id))
return string.Empty; return string.Empty;
if(asset.ID != id)
{
asset.ID = id; asset.ID = id;
if (m_Cache != null)
if (isHG && m_Cache != null)
m_Cache.Cache(asset); m_Cache.Cache(asset);
}
return id; return id;
} }