aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 63fed6b..0748954 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -2122,7 +2122,10 @@ namespace OpenSim.Region.Framework.Scenes
2122 SceneObjectPart[] partList = sog.Parts; 2122 SceneObjectPart[] partList = sog.Parts;
2123 2123
2124 foreach (SceneObjectPart child in partList) 2124 foreach (SceneObjectPart child in partList)
2125 {
2125 child.Inventory.ChangeInventoryOwner(ownerID); 2126 child.Inventory.ChangeInventoryOwner(ownerID);
2127 child.TriggerScriptChangedEvent(Changed.OWNER);
2128 }
2126 } 2129 }
2127 else 2130 else
2128 { 2131 {
@@ -2138,6 +2141,7 @@ namespace OpenSim.Region.Framework.Scenes
2138 { 2141 {
2139 child.LastOwnerID = child.OwnerID; 2142 child.LastOwnerID = child.OwnerID;
2140 child.Inventory.ChangeInventoryOwner(groupID); 2143 child.Inventory.ChangeInventoryOwner(groupID);
2144 child.TriggerScriptChangedEvent(Changed.OWNER);
2141 } 2145 }
2142 2146
2143 sog.SetOwnerId(groupID); 2147 sog.SetOwnerId(groupID);