diff options
author | Melanie | 2010-05-03 02:40:52 +0100 |
---|---|---|
committer | Melanie | 2010-05-03 02:40:52 +0100 |
commit | 1494c84f56221ae264c3bba3dd5a23510bc43aea (patch) | |
tree | 1f7e1f879af784a01523f3cbf2952b4b335fefdc /OpenSim/Region | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-1494c84f56221ae264c3bba3dd5a23510bc43aea.zip opensim-SC_OLD-1494c84f56221ae264c3bba3dd5a23510bc43aea.tar.gz opensim-SC_OLD-1494c84f56221ae264c3bba3dd5a23510bc43aea.tar.bz2 opensim-SC_OLD-1494c84f56221ae264c3bba3dd5a23510bc43aea.tar.xz |
Fix a bug in owner change notification
Diffstat (limited to 'OpenSim/Region')
-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 eea73ff..8b83b06 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -1051,7 +1051,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1051 | { | 1051 | { |
1052 | if (engine != null) | 1052 | if (engine != null) |
1053 | { | 1053 | { |
1054 | engine.PostScriptEvent(item.ItemID, "changed", new Object[] { Changed.OWNER }); | 1054 | if (item.OwnerChanged) |
1055 | engine.PostScriptEvent(item.ItemID, "changed", new Object[] { (int)Changed.OWNER }); | ||
1056 | item.OwnerChanged = false; | ||
1055 | engine.ResumeScript(item.ItemID); | 1057 | engine.ResumeScript(item.ItemID); |
1056 | } | 1058 | } |
1057 | } | 1059 | } |