diff options
author | Melanie | 2011-04-01 21:52:04 +0100 |
---|---|---|
committer | Melanie | 2011-04-01 21:52:04 +0100 |
commit | 3053b60143715e184f97817939c98970938bf39b (patch) | |
tree | 4c18394c2355cd3828bc748cb3997066207a3655 /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | A stab at making CHANGED_OWNER work (diff) | |
download | opensim-SC-3053b60143715e184f97817939c98970938bf39b.zip opensim-SC-3053b60143715e184f97817939c98970938bf39b.tar.gz opensim-SC-3053b60143715e184f97817939c98970938bf39b.tar.bz2 opensim-SC-3053b60143715e184f97817939c98970938bf39b.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 854f1dc..1992956 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -186,12 +186,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
186 | foreach (TaskInventoryItem item in items) | 186 | foreach (TaskInventoryItem item in items) |
187 | { | 187 | { |
188 | if (ownerId != item.OwnerID) | 188 | if (ownerId != item.OwnerID) |
189 | { | ||
190 | item.LastOwnerID = item.OwnerID; | 189 | item.LastOwnerID = item.OwnerID; |
191 | item.OwnerID = ownerId; | 190 | |
192 | item.PermsMask = 0; | 191 | item.OwnerID = ownerId; |
193 | item.PermsGranter = UUID.Zero; | 192 | item.PermsMask = 0; |
194 | } | 193 | item.PermsGranter = UUID.Zero; |
194 | item.OwnerChanged = true; | ||
195 | } | 195 | } |
196 | m_items.LockItemsForWrite(false); | 196 | m_items.LockItemsForWrite(false); |
197 | } | 197 | } |