diff options
Diffstat (limited to 'OpenSim/Region')
-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 61a2956..3e4694a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4522,6 +4522,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4522 | foreach (SceneObjectPart child in partList) | 4522 | foreach (SceneObjectPart child in partList) |
4523 | { | 4523 | { |
4524 | child.Inventory.ChangeInventoryOwner(remoteClient.AgentId); | 4524 | child.Inventory.ChangeInventoryOwner(remoteClient.AgentId); |
4525 | child.TriggerScriptChangedEvent(Changed.OWNER); | ||
4525 | child.ApplyNextOwnerPermissions(); | 4526 | child.ApplyNextOwnerPermissions(); |
4526 | } | 4527 | } |
4527 | } | 4528 | } |
@@ -4531,6 +4532,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
4531 | 4532 | ||
4532 | group.HasGroupChanged = true; | 4533 | group.HasGroupChanged = true; |
4533 | part.GetProperties(remoteClient); | 4534 | part.GetProperties(remoteClient); |
4535 | part.TriggerScriptChangedEvent(Changed.OWNER); | ||
4536 | group.ResumeScripts(); | ||
4534 | part.ScheduleFullUpdate(); | 4537 | part.ScheduleFullUpdate(); |
4535 | 4538 | ||
4536 | break; | 4539 | break; |