diff options
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
OpenSim/Tests/Common/Mock/TestClient.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs index f3660a5..2effa25 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -92,7 +92,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
92 | 92 | ||
93 | UUID newItemId = (copyItemID != UUID.Zero) ? copyItemID : item.ID; | 93 | UUID newItemId = (copyItemID != UUID.Zero) ? copyItemID : item.ID; |
94 | 94 | ||
95 | SceneObjectPart part = GetChildPart(localID); | 95 | SceneObjectPart part = GetPart(localID); |
96 | if (part != null) | 96 | if (part != null) |
97 | { | 97 | { |
98 | TaskInventoryItem taskItem = new TaskInventoryItem(); | 98 | TaskInventoryItem taskItem = new TaskInventoryItem(); |
@@ -166,7 +166,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
166 | /// <returns>null if the item does not exist</returns> | 166 | /// <returns>null if the item does not exist</returns> |
167 | public TaskInventoryItem GetInventoryItem(uint primID, UUID itemID) | 167 | public TaskInventoryItem GetInventoryItem(uint primID, UUID itemID) |
168 | { | 168 | { |
169 | SceneObjectPart part = GetChildPart(primID); | 169 | SceneObjectPart part = GetPart(primID); |
170 | if (part != null) | 170 | if (part != null) |
171 | { | 171 | { |
172 | return part.Inventory.GetInventoryItem(itemID); | 172 | return part.Inventory.GetInventoryItem(itemID); |
@@ -190,7 +190,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
190 | /// <returns>false if the item did not exist, true if the update occurred succesfully</returns> | 190 | /// <returns>false if the item did not exist, true if the update occurred succesfully</returns> |
191 | public bool UpdateInventoryItem(TaskInventoryItem item) | 191 | public bool UpdateInventoryItem(TaskInventoryItem item) |
192 | { | 192 | { |
193 | SceneObjectPart part = GetChildPart(item.ParentPartID); | 193 | SceneObjectPart part = GetPart(item.ParentPartID); |
194 | if (part != null) | 194 | if (part != null) |
195 | { | 195 | { |
196 | part.Inventory.UpdateInventoryItem(item); | 196 | part.Inventory.UpdateInventoryItem(item); |
@@ -210,7 +210,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
210 | 210 | ||
211 | public int RemoveInventoryItem(uint localID, UUID itemID) | 211 | public int RemoveInventoryItem(uint localID, UUID itemID) |
212 | { | 212 | { |
213 | SceneObjectPart part = GetChildPart(localID); | 213 | SceneObjectPart part = GetPart(localID); |
214 | if (part != null) | 214 | if (part != null) |
215 | { | 215 | { |
216 | int type = part.Inventory.RemoveInventoryItem(itemID); | 216 | int type = part.Inventory.RemoveInventoryItem(itemID); |