diff options
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 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 5 |
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 | ||