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/Environment/Scenes/Scene.Inventory.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment') 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