Properly implement CenomeAssetCache.Check()

master-beforevarregion
Justin Clark-Casey (justincc) 2014-01-18 00:30:23 +00:00
parent ee8ba1ab9a
commit fc7ccfdafa
1 changed files with 4 additions and 2 deletions

View File

@ -194,10 +194,12 @@ namespace OpenSim.Region.CoreModules.Asset
#region IImprovedAssetCache Members #region IImprovedAssetCache Members
public bool Check(string id) public bool Check(string id)
{ {
return false; AssetBase asset;
// XXX:This is probably not an efficient implementation.
return m_cache.TryGetValue(id, out asset);
} }
/// <summary> /// <summary>