diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 8ceb109..3e78a08 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4556,6 +4556,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4556 | foreach (SceneObjectPart child in partList) | 4556 | foreach (SceneObjectPart child in partList) |
4557 | { | 4557 | { |
4558 | child.Inventory.ChangeInventoryOwner(remoteClient.AgentId); | 4558 | child.Inventory.ChangeInventoryOwner(remoteClient.AgentId); |
4559 | child.TriggerScriptChangedEvent(Changed.OWNER); | ||
4559 | child.ApplyNextOwnerPermissions(); | 4560 | child.ApplyNextOwnerPermissions(); |
4560 | } | 4561 | } |
4561 | } | 4562 | } |
@@ -4565,6 +4566,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
4565 | 4566 | ||
4566 | group.HasGroupChanged = true; | 4567 | group.HasGroupChanged = true; |
4567 | part.GetProperties(remoteClient); | 4568 | part.GetProperties(remoteClient); |
4569 | part.TriggerScriptChangedEvent(Changed.OWNER); | ||
4570 | group.ResumeScripts(); | ||
4568 | part.ScheduleFullUpdate(); | 4571 | part.ScheduleFullUpdate(); |
4569 | 4572 | ||
4570 | break; | 4573 | break; |