aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 221af44..9c29c44 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -4277,8 +4277,8 @@ namespace OpenSim.Region.Environment.Scenes
4277 { 4277 {
4278 foreach (SceneObjectPart child in partList) 4278 foreach (SceneObjectPart child in partList)
4279 { 4279 {
4280 child.ChangeInventoryOwner(remoteClient.AgentId); 4280 child.Inventory.ChangeInventoryOwner(remoteClient.AgentId);
4281 child.ApplyNextOwnerPermissions(); 4281 child.Inventory.ApplyNextOwnerPermissions();
4282 } 4282 }
4283 } 4283 }
4284 4284
@@ -4355,13 +4355,13 @@ namespace OpenSim.Region.Environment.Scenes
4355 break; 4355 break;
4356 4356
4357 case 3: // Sell contents 4357 case 3: // Sell contents
4358 List<UUID> invList = part.GetInventoryList(); 4358 List<UUID> invList = part.Inventory.GetInventoryList();
4359 4359
4360 bool okToSell = true; 4360 bool okToSell = true;
4361 4361
4362 foreach (UUID invID in invList) 4362 foreach (UUID invID in invList)
4363 { 4363 {
4364 TaskInventoryItem item = part.GetInventoryItem(invID); 4364 TaskInventoryItem item = part.Inventory.GetInventoryItem(invID);
4365 if ((item.CurrentPermissions & 4365 if ((item.CurrentPermissions &
4366 (uint)PermissionMask.Transfer) == 0) 4366 (uint)PermissionMask.Transfer) == 0)
4367 { 4367 {