diff options
author | Melanie Thielker | 2010-05-03 04:55:41 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-05-03 04:55:41 +0200 |
commit | 9c8d7d34b39c6351459989f02473b6f5200d14ee (patch) | |
tree | 26d1b7334ac6452820e5bc65096c0047a631a383 | |
parent | Adapt CM to the new CHANGED_OWNER handling (diff) | |
download | opensim-SC_OLD-9c8d7d34b39c6351459989f02473b6f5200d14ee.zip opensim-SC_OLD-9c8d7d34b39c6351459989f02473b6f5200d14ee.tar.gz opensim-SC_OLD-9c8d7d34b39c6351459989f02473b6f5200d14ee.tar.bz2 opensim-SC_OLD-9c8d7d34b39c6351459989f02473b6f5200d14ee.tar.xz |
Fix a bug in owner change notification
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 4 |
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 | } |