aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorMelanie Thielker2010-05-03 04:55:41 +0200
committerMelanie Thielker2010-05-03 04:55:41 +0200
commit9c8d7d34b39c6351459989f02473b6f5200d14ee (patch)
tree26d1b7334ac6452820e5bc65096c0047a631a383 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parentAdapt CM to the new CHANGED_OWNER handling (diff)
downloadopensim-SC-9c8d7d34b39c6351459989f02473b6f5200d14ee.zip
opensim-SC-9c8d7d34b39c6351459989f02473b6f5200d14ee.tar.gz
opensim-SC-9c8d7d34b39c6351459989f02473b6f5200d14ee.tar.bz2
opensim-SC-9c8d7d34b39c6351459989f02473b6f5200d14ee.tar.xz
Fix a bug in owner change notification
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 64282d1..62b44bd 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -1180,7 +1180,9 @@ namespace OpenSim.Region.Framework.Scenes
1180 { 1180 {
1181 if (engine != null) 1181 if (engine != null)
1182 { 1182 {
1183 engine.PostScriptEvent(item.ItemID, "changed", new Object[] { Changed.OWNER }); 1183 if (item.OwnerChanged)
1184 engine.PostScriptEvent(item.ItemID, "changed", new Object[] { (int)Changed.OWNER });
1185 item.OwnerChanged = false;
1184 engine.ResumeScript(item.ItemID); 1186 engine.ResumeScript(item.ItemID);
1185 } 1187 }
1186 } 1188 }