diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 4da63c0..eea73ff 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -955,10 +955,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
955 | item.CurrentPermissions &= item.NextPermissions; | 955 | item.CurrentPermissions &= item.NextPermissions; |
956 | item.BasePermissions &= item.NextPermissions; | 956 | item.BasePermissions &= item.NextPermissions; |
957 | item.EveryonePermissions &= item.NextPermissions; | 957 | item.EveryonePermissions &= item.NextPermissions; |
958 | item.OwnerChanged = true; | ||
958 | } | 959 | } |
959 | } | 960 | } |
960 | |||
961 | m_part.TriggerScriptChangedEvent(Changed.OWNER); | ||
962 | } | 961 | } |
963 | 962 | ||
964 | public void ApplyGodPermissions(uint perms) | 963 | public void ApplyGodPermissions(uint perms) |
@@ -1042,7 +1041,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1042 | if (engines == null) | 1041 | if (engines == null) |
1043 | return; | 1042 | return; |
1044 | 1043 | ||
1045 | |||
1046 | lock (m_items) | 1044 | lock (m_items) |
1047 | { | 1045 | { |
1048 | foreach (TaskInventoryItem item in m_items.Values) | 1046 | foreach (TaskInventoryItem item in m_items.Values) |
@@ -1052,7 +1050,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1052 | foreach (IScriptModule engine in engines) | 1050 | foreach (IScriptModule engine in engines) |
1053 | { | 1051 | { |
1054 | if (engine != null) | 1052 | if (engine != null) |
1053 | { | ||
1054 | engine.PostScriptEvent(item.ItemID, "changed", new Object[] { Changed.OWNER }); | ||
1055 | engine.ResumeScript(item.ItemID); | 1055 | engine.ResumeScript(item.ItemID); |
1056 | } | ||
1056 | } | 1057 | } |
1057 | } | 1058 | } |
1058 | } | 1059 | } |