Merge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/var/git/careminster into careminster-presence-refactor

avinationmerge
Melanie 2011-04-03 14:15:29 +01:00
commit 89a65df160
1 changed files with 4 additions and 0 deletions

View File

@ -2122,7 +2122,10 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectPart[] partList = sog.Parts;
foreach (SceneObjectPart child in partList)
{
child.Inventory.ChangeInventoryOwner(ownerID);
child.TriggerScriptChangedEvent(Changed.OWNER);
}
}
else
{
@ -2138,6 +2141,7 @@ namespace OpenSim.Region.Framework.Scenes
{
child.LastOwnerID = child.OwnerID;
child.Inventory.ChangeInventoryOwner(groupID);
child.TriggerScriptChangedEvent(Changed.OWNER);
}
sog.SetOwnerId(groupID);