aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-01 16:49:52 +0000
committerMelanie Thielker2008-11-01 16:49:52 +0000
commit0bff4215fee93289fb8a7b3e72a868407fd3bfb5 (patch)
tree305eeacce170572d8ef6387b808e56c32aa34813
parentA stab a getting the user server to act right. Move acquisition of the (diff)
downloadopensim-SC_OLD-0bff4215fee93289fb8a7b3e72a868407fd3bfb5.zip
opensim-SC_OLD-0bff4215fee93289fb8a7b3e72a868407fd3bfb5.tar.gz
opensim-SC_OLD-0bff4215fee93289fb8a7b3e72a868407fd3bfb5.tar.bz2
opensim-SC_OLD-0bff4215fee93289fb8a7b3e72a868407fd3bfb5.tar.xz
Correct the handling of the creator field on inventory gives
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 733392f..0ebdf69 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -439,7 +439,7 @@ namespace OpenSim.Region.Environment.Scenes
439 // Insert a copy of the item into the recipient 439 // Insert a copy of the item into the recipient
440 InventoryItemBase itemCopy = new InventoryItemBase(); 440 InventoryItemBase itemCopy = new InventoryItemBase();
441 itemCopy.Owner = recipientClient.AgentId; 441 itemCopy.Owner = recipientClient.AgentId;
442 itemCopy.Creator = senderId; 442 itemCopy.Creator = item.Creator;
443 itemCopy.ID = UUID.Random(); 443 itemCopy.ID = UUID.Random();
444 itemCopy.AssetID = item.AssetID; 444 itemCopy.AssetID = item.AssetID;
445 itemCopy.Description = item.Description; 445 itemCopy.Description = item.Description;
@@ -477,8 +477,8 @@ namespace OpenSim.Region.Environment.Scenes
477 itemCopy.EveryOnePermissions = item.EveryOnePermissions & item.NextPermissions; 477 itemCopy.EveryOnePermissions = item.EveryOnePermissions & item.NextPermissions;
478 itemCopy.BasePermissions = item.BasePermissions; 478 itemCopy.BasePermissions = item.BasePermissions;
479 } 479 }
480 itemCopy.GroupID = item.GroupID; 480 itemCopy.GroupID = UUID.Zero;
481 itemCopy.GroupOwned = item.GroupOwned; 481 itemCopy.GroupOwned = false;
482 itemCopy.Flags = item.Flags; 482 itemCopy.Flags = item.Flags;
483 itemCopy.SalePrice = item.SalePrice; 483 itemCopy.SalePrice = item.SalePrice;
484 itemCopy.SaleType = item.SaleType; 484 itemCopy.SaleType = item.SaleType;