Properly implement CenomeAssetCache.Check()

This commit is contained in:
Justin Clark-Casey (justincc)
2014-01-18 00:30:23 +00:00
parent ee8ba1ab9a
commit fc7ccfdafa

View File

@@ -194,10 +194,12 @@ namespace OpenSim.Region.CoreModules.Asset
#region IImprovedAssetCache Members
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>