don't let part lastowner be the group

httptests
UbitUmarov 2017-01-22 21:38:59 +00:00
parent 8d99c86f96
commit df035a4022
1 changed files with 2 additions and 2 deletions

View File

@ -1139,8 +1139,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
foreach (SceneObjectPart part in so.Parts)
{
part.GroupMask = 0; // DO NOT propagate here
part.LastOwnerID = part.OwnerID;
if( part.OwnerID != part.GroupID)
part.LastOwnerID = part.OwnerID;
part.OwnerID = item.Owner;
part.RezzerID = item.Owner;
part.Inventory.ChangeInventoryOwner(item.Owner);