aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2011-01-24 02:20:54 +0100
committerMelanie2011-01-24 02:20:54 +0100
commit649d9ef93445439f6e222802757e1bc7d08d919c (patch)
tree4869ed90bacf08ddc7893ce6e7c0d3a23e20c156 /OpenSim/Region/Framework
parentAdd a careminster API to scripting again (diff)
downloadopensim-SC_OLD-649d9ef93445439f6e222802757e1bc7d08d919c.zip
opensim-SC_OLD-649d9ef93445439f6e222802757e1bc7d08d919c.tar.gz
opensim-SC_OLD-649d9ef93445439f6e222802757e1bc7d08d919c.tar.bz2
opensim-SC_OLD-649d9ef93445439f6e222802757e1bc7d08d919c.tar.xz
Fix script data not being reset as it should be
Diffstat (limited to 'OpenSim/Region/Framework')
-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