aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2011-04-01 18:49:53 +0200
committerMelanie2011-04-01 18:49:53 +0200
commit95e524dde100aa14d71a49ee5d5f0cc4b5fa45f7 (patch)
treec86ac712915c67bd60f2e47b2ac3665702f3e8aa /OpenSim/Region/Framework
parentMake the login service's call to the sim time out quicker so we have a (diff)
downloadopensim-SC-95e524dde100aa14d71a49ee5d5f0cc4b5fa45f7.zip
opensim-SC-95e524dde100aa14d71a49ee5d5f0cc4b5fa45f7.tar.gz
opensim-SC-95e524dde100aa14d71a49ee5d5f0cc4b5fa45f7.tar.bz2
opensim-SC-95e524dde100aa14d71a49ee5d5f0cc4b5fa45f7.tar.xz
A stab at making CHANGED_OWNER work
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs10
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 }