diff options
author | Melanie | 2011-04-01 22:04:29 +0100 |
---|---|---|
committer | Melanie | 2011-04-01 22:04:29 +0100 |
commit | 3a113f9902b859d11c200f9b0db06c2317eb53cc (patch) | |
tree | efe807f23fdc94caaac21378e90cb62187a1f7ac /OpenSim/Region/Framework | |
parent | check threat configuration for LSL print() (diff) | |
download | opensim-SC_OLD-3a113f9902b859d11c200f9b0db06c2317eb53cc.zip opensim-SC_OLD-3a113f9902b859d11c200f9b0db06c2317eb53cc.tar.gz opensim-SC_OLD-3a113f9902b859d11c200f9b0db06c2317eb53cc.tar.bz2 opensim-SC_OLD-3a113f9902b859d11c200f9b0db06c2317eb53cc.tar.xz |
A stab at making CHANGED_OWNER work
Diffstat (limited to 'OpenSim/Region/Framework')
-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 fa404c0..3281eab 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -175,12 +175,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
175 | foreach (TaskInventoryItem item in items) | 175 | foreach (TaskInventoryItem item in items) |
176 | { | 176 | { |
177 | if (ownerId != item.OwnerID) | 177 | if (ownerId != item.OwnerID) |
178 | { | ||
179 | item.LastOwnerID = item.OwnerID; | 178 | item.LastOwnerID = item.OwnerID; |
180 | item.OwnerID = ownerId; | 179 | |
181 | item.PermsMask = 0; | 180 | item.OwnerID = ownerId; |
182 | item.PermsGranter = UUID.Zero; | 181 | item.PermsMask = 0; |
183 | } | 182 | item.PermsGranter = UUID.Zero; |
183 | item.OwnerChanged = true; | ||
184 | } | 184 | } |
185 | } | 185 | } |
186 | 186 | ||