diff options
author | Melanie | 2011-01-24 02:20:54 +0100 |
---|---|---|
committer | Melanie | 2011-01-24 02:20:54 +0100 |
commit | 649d9ef93445439f6e222802757e1bc7d08d919c (patch) | |
tree | 4869ed90bacf08ddc7893ce6e7c0d3a23e20c156 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | Add a careminster API to scripting again (diff) | |
download | opensim-SC-649d9ef93445439f6e222802757e1bc7d08d919c.zip opensim-SC-649d9ef93445439f6e222802757e1bc7d08d919c.tar.gz opensim-SC-649d9ef93445439f6e222802757e1bc7d08d919c.tar.bz2 opensim-SC-649d9ef93445439f6e222802757e1bc7d08d919c.tar.xz |
Fix script data not being reset as it should be
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 4 |
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 | ||