diff options
author | Justin Clarke Casey | 2008-11-21 21:16:42 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-21 21:16:42 +0000 |
commit | 915593bfbc2f0d6729efe4dfe8d4c8a3f0fc9fbe (patch) | |
tree | 1f62bf777f73c4f3fffb2f5237cd7e5eaeddcb6f /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |
parent | * Extend sog delete to inventory test to crank the normally async sog deleter... (diff) | |
download | opensim-SC-915593bfbc2f0d6729efe4dfe8d4c8a3f0fc9fbe.zip opensim-SC-915593bfbc2f0d6729efe4dfe8d4c8a3f0fc9fbe.tar.gz opensim-SC-915593bfbc2f0d6729efe4dfe8d4c8a3f0fc9fbe.tar.bz2 opensim-SC-915593bfbc2f0d6729efe4dfe8d4c8a3f0fc9fbe.tar.xz |
* refactor: Rip out SOP inventory from the partial into a separate class
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life
* A proper inventory interface to follow
* Parallel changes for other inventory partial classes to follow at a later date
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 98d4f3b..0b19e85 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -366,7 +366,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
366 | localID); | 366 | localID); |
367 | 367 | ||
368 | TaskInventoryItem item = | 368 | TaskInventoryItem item = |
369 | part.GetInventoryItem(itemID); | 369 | part.Inventory.GetInventoryItem(itemID); |
370 | 370 | ||
371 | ScenePresence presence = | 371 | ScenePresence presence = |
372 | m_Scene.GetScenePresence( | 372 | m_Scene.GetScenePresence( |
@@ -464,7 +464,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
464 | return false; | 464 | return false; |
465 | } | 465 | } |
466 | 466 | ||
467 | TaskInventoryItem item = part.GetInventoryItem(itemID); | 467 | TaskInventoryItem item = part.Inventory.GetInventoryItem(itemID); |
468 | if (item == null) | 468 | if (item == null) |
469 | return false; | 469 | return false; |
470 | 470 | ||