Correct the handling of the creator field on inventory gives
parent
4fb2d70373
commit
0bff4215fe
|
@ -439,7 +439,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
// Insert a copy of the item into the recipient
|
// Insert a copy of the item into the recipient
|
||||||
InventoryItemBase itemCopy = new InventoryItemBase();
|
InventoryItemBase itemCopy = new InventoryItemBase();
|
||||||
itemCopy.Owner = recipientClient.AgentId;
|
itemCopy.Owner = recipientClient.AgentId;
|
||||||
itemCopy.Creator = senderId;
|
itemCopy.Creator = item.Creator;
|
||||||
itemCopy.ID = UUID.Random();
|
itemCopy.ID = UUID.Random();
|
||||||
itemCopy.AssetID = item.AssetID;
|
itemCopy.AssetID = item.AssetID;
|
||||||
itemCopy.Description = item.Description;
|
itemCopy.Description = item.Description;
|
||||||
|
@ -477,8 +477,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
itemCopy.EveryOnePermissions = item.EveryOnePermissions & item.NextPermissions;
|
itemCopy.EveryOnePermissions = item.EveryOnePermissions & item.NextPermissions;
|
||||||
itemCopy.BasePermissions = item.BasePermissions;
|
itemCopy.BasePermissions = item.BasePermissions;
|
||||||
}
|
}
|
||||||
itemCopy.GroupID = item.GroupID;
|
itemCopy.GroupID = UUID.Zero;
|
||||||
itemCopy.GroupOwned = item.GroupOwned;
|
itemCopy.GroupOwned = false;
|
||||||
itemCopy.Flags = item.Flags;
|
itemCopy.Flags = item.Flags;
|
||||||
itemCopy.SalePrice = item.SalePrice;
|
itemCopy.SalePrice = item.SalePrice;
|
||||||
itemCopy.SaleType = item.SaleType;
|
itemCopy.SaleType = item.SaleType;
|
||||||
|
|
Loading…
Reference in New Issue