From ed0f8bd5728d0fbe992cc4a1d164983edda654e8 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 22 Dec 2007 16:45:44 +0000 Subject: minor refactor --- OpenSim/Region/ClientStack/ClientView.cs | 2 +- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 86591ec..34a9b09 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -3106,7 +3106,7 @@ namespace OpenSim.Region.ClientStack // Fetch landmark LLUUID lmid = tpReq.Info.LandmarkID; - AssetBase lma = m_assetCache.GetAsset(lmid); + AssetBase lma = m_assetCache.GetAsset(lmid, false); if (lma != null) { AssetLandmark lm = new AssetLandmark(lma); diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 86cb38d..efd96d2 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -146,7 +146,9 @@ namespace OpenSim.Region.Environment.Scenes if (transactions != null) { LLUUID assetID = libsecondlife.LLUUID.Combine(transactionID, remoteClient.SecureSessionId); - AssetBase asset = AssetCache.GetAsset(assetID); + AssetBase asset + = AssetCache.GetAsset( + assetID, (item.assetType == (int)AssetType.Texture ? true : false)); if (asset == null) { -- cgit v1.1