From 93837807ffb24e5811368063b9231a9d8b018d9d Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 16 Feb 2009 19:15:16 +0000 Subject: * refactor: remove AssetCache field hanging off Scene * This is always available at Scene.CommsManager.AssetCache --- OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index c15ac47..c625a72 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs @@ -251,7 +251,7 @@ namespace OpenSim.Region.Framework.Scenes m_part.ScheduleFullUpdate(); return; } - IAssetCache cache = m_part.ParentGroup.Scene.AssetCache; + IAssetCache cache = m_part.ParentGroup.Scene.CommsManager.AssetCache; cache.GetAsset(item.AssetID, delegate(UUID assetID, AssetBase asset) { -- cgit v1.1