mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Make negative asset caching actually work
Also fixes some merge artefacts in HGAssetBroker where cached assets were requested but not actually used and completely squelch a materials debug message because there is nothing the user can do to fix it anyway.
This commit is contained in:
@@ -369,7 +369,8 @@ namespace OpenSim.Region.CoreModules.Agent.TextureSender
|
||||
else if (Cache != null)
|
||||
{
|
||||
string assetName = "j2kCache_" + AssetId.ToString();
|
||||
AssetBase layerDecodeAsset = Cache.Get(assetName);
|
||||
bool negative;
|
||||
AssetBase layerDecodeAsset = Cache.Get(assetName, out negative);
|
||||
|
||||
if (layerDecodeAsset != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user