aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 2ee8c07..7e59b10 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -189,6 +189,8 @@ namespace OpenSim.Region.Framework.Scenes
189 { 189 {
190 item.LastOwnerID = item.OwnerID; 190 item.LastOwnerID = item.OwnerID;
191 item.OwnerID = ownerId; 191 item.OwnerID = ownerId;
192 item.PermsMask = 0;
193 item.PermsGranter = UUID.Zero;
192 } 194 }
193 } 195 }
194 m_items.LockItemsForWrite(false); 196 m_items.LockItemsForWrite(false);
@@ -1216,6 +1218,8 @@ namespace OpenSim.Region.Framework.Scenes
1216 item.CurrentPermissions &= item.NextPermissions; 1218 item.CurrentPermissions &= item.NextPermissions;
1217 item.BasePermissions &= item.NextPermissions; 1219 item.BasePermissions &= item.NextPermissions;
1218 item.EveryonePermissions &= item.NextPermissions; 1220 item.EveryonePermissions &= item.NextPermissions;
1221 item.PermsMask = 0;
1222 item.PermsGranter = UUID.Zero;
1219 } 1223 }
1220 } 1224 }
1221 1225