aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2011-01-24 03:07:01 +0000
committerMelanie2011-01-24 03:07:01 +0000
commitb91c99b5968fe9fc2cd7a4b94b8b728f4db63aaa (patch)
tree9b93b7ea3f8be9f1aa4aa3692482220f94ec9350 /OpenSim
parentFixes mantis #5343 (diff)
downloadopensim-SC_OLD-b91c99b5968fe9fc2cd7a4b94b8b728f4db63aaa.zip
opensim-SC_OLD-b91c99b5968fe9fc2cd7a4b94b8b728f4db63aaa.tar.gz
opensim-SC_OLD-b91c99b5968fe9fc2cd7a4b94b8b728f4db63aaa.tar.bz2
opensim-SC_OLD-b91c99b5968fe9fc2cd7a4b94b8b728f4db63aaa.tar.xz
Fix script data not being reset as it should be
Diffstat (limited to 'OpenSim')
-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 cff2cf4..67e59c6 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -178,6 +178,8 @@ namespace OpenSim.Region.Framework.Scenes
178 { 178 {
179 item.LastOwnerID = item.OwnerID; 179 item.LastOwnerID = item.OwnerID;
180 item.OwnerID = ownerId; 180 item.OwnerID = ownerId;
181 item.PermsMask = 0;
182 item.PermsGranter = UUID.Zero;
181 } 183 }
182 } 184 }
183 } 185 }
@@ -1012,6 +1014,8 @@ namespace OpenSim.Region.Framework.Scenes
1012 item.BasePermissions &= item.NextPermissions; 1014 item.BasePermissions &= item.NextPermissions;
1013 item.EveryonePermissions &= item.NextPermissions; 1015 item.EveryonePermissions &= item.NextPermissions;
1014 item.OwnerChanged = true; 1016 item.OwnerChanged = true;
1017 item.PermsMask = 0;
1018 item.PermsGranter = UUID.Zero;
1015 } 1019 }
1016 } 1020 }
1017 } 1021 }