mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
in HGAssetBroker do cache all if asset id changed
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user