diff options
author | Melanie Thielker | 2017-02-01 16:31:01 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-02-01 16:31:01 +0000 |
commit | a5151bb337cfee14dff6045d7f8e293201ae94ac (patch) | |
tree | f301338415da7160e48efcb4dc6cd1efc7faecaf /OpenSim/Region/CoreModules/Agent | |
parent | Secure sim stats with an (optional) password. (diff) | |
download | opensim-SC-a5151bb337cfee14dff6045d7f8e293201ae94ac.zip opensim-SC-a5151bb337cfee14dff6045d7f8e293201ae94ac.tar.gz opensim-SC-a5151bb337cfee14dff6045d7f8e293201ae94ac.tar.bz2 opensim-SC-a5151bb337cfee14dff6045d7f8e293201ae94ac.tar.xz |
Refactor asset handling as per Ubit's suggestion
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs b/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs index 594b6bb..6e4a710 100644 --- a/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs +++ b/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs | |||
@@ -369,8 +369,8 @@ namespace OpenSim.Region.CoreModules.Agent.TextureSender | |||
369 | else if (Cache != null) | 369 | else if (Cache != null) |
370 | { | 370 | { |
371 | string assetName = "j2kCache_" + AssetId.ToString(); | 371 | string assetName = "j2kCache_" + AssetId.ToString(); |
372 | bool negative; | 372 | AssetBase layerDecodeAsset; |
373 | AssetBase layerDecodeAsset = Cache.Get(assetName, out negative); | 373 | Cache.Get(assetName, out layerDecodeAsset); |
374 | 374 | ||
375 | if (layerDecodeAsset != null) | 375 | if (layerDecodeAsset != null) |
376 | { | 376 | { |