aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs6
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs1
2 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index f2cc16c..7bb8789 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -637,6 +637,12 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
637 rootPart.Name = item.Name; 637 rootPart.Name = item.Name;
638 rootPart.Description = item.Description; 638 rootPart.Description = item.Description;
639 639
640 if ((item.Flags & (uint)InventoryItemFlags.ObjectSlamSale) != 0)
641 {
642 rootPart.ObjectSaleType = item.SaleType;
643 rootPart.SalePrice = item.SalePrice;
644 }
645
640 group.SetGroup(remoteClient.ActiveGroupId, remoteClient); 646 group.SetGroup(remoteClient.ActiveGroupId, remoteClient);
641 if ((rootPart.OwnerID != item.Owner) || 647 if ((rootPart.OwnerID != item.Owner) ||
642 (item.CurrentPermissions & 16) != 0 || // Magic number 648 (item.CurrentPermissions & 16) != 0 || // Magic number
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 19fa6c5..e2d96d9 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -326,7 +326,6 @@ namespace OpenSim.Region.Framework.Scenes
326 { 326 {
327 if (UUID.Zero == transactionID) 327 if (UUID.Zero == transactionID)
328 { 328 {
329 item.Flags = itemUpd.Flags;
330 item.Name = itemUpd.Name; 329 item.Name = itemUpd.Name;
331 item.Description = itemUpd.Description; 330 item.Description = itemUpd.Description;
332 if (item.NextPermissions != (itemUpd.NextPermissions & item.BasePermissions)) 331 if (item.NextPermissions != (itemUpd.NextPermissions & item.BasePermissions))