aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 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 }