aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index d03fec2..713cc0e 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -252,9 +252,8 @@ namespace OpenSim.Region.Framework.Scenes
252 m_part.ScheduleFullUpdate(); 252 m_part.ScheduleFullUpdate();
253 return; 253 return;
254 } 254 }
255 IAssetCache cache = m_part.ParentGroup.Scene.CommsManager.AssetCache;
256 255
257 cache.GetAsset(item.AssetID, delegate(UUID assetID, AssetBase asset) 256 m_part.ParentGroup.Scene.AssetService.Get(item.AssetID.ToString(), this, delegate(string id, object sender, AssetBase asset)
258 { 257 {
259 if (null == asset) 258 if (null == asset)
260 { 259 {
@@ -275,7 +274,7 @@ namespace OpenSim.Region.Framework.Scenes
275 m_part.ParentGroup.AddActiveScriptCount(1); 274 m_part.ParentGroup.AddActiveScriptCount(1);
276 m_part.ScheduleFullUpdate(); 275 m_part.ScheduleFullUpdate();
277 } 276 }
278 }, false); 277 });
279 } 278 }
280 } 279 }
281 280