diff options
Diffstat (limited to 'OpenSim')
-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 | } |