Make in-place sale send CHANGED_OWNER again
parent
45301d8a49
commit
7a8ad1ceb2
|
@ -4522,6 +4522,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
foreach (SceneObjectPart child in partList)
|
foreach (SceneObjectPart child in partList)
|
||||||
{
|
{
|
||||||
child.Inventory.ChangeInventoryOwner(remoteClient.AgentId);
|
child.Inventory.ChangeInventoryOwner(remoteClient.AgentId);
|
||||||
|
child.TriggerScriptChangedEvent(Changed.OWNER);
|
||||||
child.ApplyNextOwnerPermissions();
|
child.ApplyNextOwnerPermissions();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4531,6 +4532,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
group.HasGroupChanged = true;
|
group.HasGroupChanged = true;
|
||||||
part.GetProperties(remoteClient);
|
part.GetProperties(remoteClient);
|
||||||
|
part.TriggerScriptChangedEvent(Changed.OWNER);
|
||||||
|
group.ResumeScripts();
|
||||||
part.ScheduleFullUpdate();
|
part.ScheduleFullUpdate();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue