aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2011-04-03 13:50:19 +0200
committerMelanie2011-04-03 14:16:41 +0100
commite8e940e33e458622ef3c1f6fbd206fcf13b2f700 (patch)
tree38681ab0e6303dccb4df1419aa16b1db7a9cf1eb /OpenSim/Region/Framework/Scenes
parentComment out some startup logging lines to make up for the one I added earlier... (diff)
downloadopensim-SC_OLD-e8e940e33e458622ef3c1f6fbd206fcf13b2f700.zip
opensim-SC_OLD-e8e940e33e458622ef3c1f6fbd206fcf13b2f700.tar.gz
opensim-SC_OLD-e8e940e33e458622ef3c1f6fbd206fcf13b2f700.tar.bz2
opensim-SC_OLD-e8e940e33e458622ef3c1f6fbd206fcf13b2f700.tar.xz
Make CHANGED_OWNER work for deeding and god-mode in-world change
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 fcbcf59..73dd531 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -2069,7 +2069,10 @@ namespace OpenSim.Region.Framework.Scenes
2069 SceneObjectPart[] partList = sog.Parts; 2069 SceneObjectPart[] partList = sog.Parts;
2070 2070
2071 foreach (SceneObjectPart child in partList) 2071 foreach (SceneObjectPart child in partList)
2072 {
2072 child.Inventory.ChangeInventoryOwner(ownerID); 2073 child.Inventory.ChangeInventoryOwner(ownerID);
2074 child.TriggerScriptChangedEvent(Changed.OWNER);
2075 }
2073 } 2076 }
2074 else 2077 else
2075 { 2078 {
@@ -2085,6 +2088,7 @@ namespace OpenSim.Region.Framework.Scenes
2085 { 2088 {
2086 child.LastOwnerID = child.OwnerID; 2089 child.LastOwnerID = child.OwnerID;
2087 child.Inventory.ChangeInventoryOwner(groupID); 2090 child.Inventory.ChangeInventoryOwner(groupID);
2091 child.TriggerScriptChangedEvent(Changed.OWNER);
2088 } 2092 }
2089 2093
2090 sog.SetOwnerId(groupID); 2094 sog.SetOwnerId(groupID);