add a Check method to flotsamAssetCache, so to check if a asset is in

cache without actually loading it. Make use limited use of it in
avatarfactory textures check. Also on llclientview
HandleAgentTextureCached that now should work. Other asset cache modules
for now will return false, so are broken. baked textures logic
still unchanged. *UNTESTED*
This commit is contained in:
UbitUmarov
2012-12-13 02:55:36 +00:00
parent 71fc9f29f9
commit 20773dcfcc
7 changed files with 151 additions and 20 deletions

View File

@@ -33,6 +33,7 @@ namespace OpenSim.Framework
{
void Cache(AssetBase asset);
AssetBase Get(string id);
bool Check(string id);
void Expire(string id);
void Clear();
}