* 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
This commit is contained in:
Justin Clarke Casey
2008-11-21 21:16:42 +00:00
parent 02105c9c2a
commit 915593bfbc
23 changed files with 252 additions and 199 deletions

View File

@@ -366,7 +366,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
localID);
TaskInventoryItem item =
part.GetInventoryItem(itemID);
part.Inventory.GetInventoryItem(itemID);
ScenePresence presence =
m_Scene.GetScenePresence(
@@ -464,7 +464,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
return false;
}
TaskInventoryItem item = part.GetInventoryItem(itemID);
TaskInventoryItem item = part.Inventory.GetInventoryItem(itemID);
if (item == null)
return false;