aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authordiva2009-05-15 05:00:25 +0000
committerdiva2009-05-15 05:00:25 +0000
commit5e4fc6e91e5edffd1dc23af4f583d6294f394a3d (patch)
tree497076db68193be2d14fc3788c1d80c74d8c977d /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parentsome sculpted prim geometry accuracy and meshing speed improvements (diff)
downloadopensim-SC_OLD-5e4fc6e91e5edffd1dc23af4f583d6294f394a3d.zip
opensim-SC_OLD-5e4fc6e91e5edffd1dc23af4f583d6294f394a3d.tar.gz
opensim-SC_OLD-5e4fc6e91e5edffd1dc23af4f583d6294f394a3d.tar.bz2
opensim-SC_OLD-5e4fc6e91e5edffd1dc23af4f583d6294f394a3d.tar.xz
Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
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