aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-06 06:15:19 +0000
committerMelanie Thielker2008-10-06 06:15:19 +0000
commit8887bde499dbd36a5e462e2c5b8fee73c9591997 (patch)
treefb380abb39e3073ed6d7991861c89efbf974c21f /OpenSim
parentFix a number of errors in transfer of objects (diff)
downloadopensim-SC_OLD-8887bde499dbd36a5e462e2c5b8fee73c9591997.zip
opensim-SC_OLD-8887bde499dbd36a5e462e2c5b8fee73c9591997.tar.gz
opensim-SC_OLD-8887bde499dbd36a5e462e2c5b8fee73c9591997.tar.bz2
opensim-SC_OLD-8887bde499dbd36a5e462e2c5b8fee73c9591997.tar.xz
Cause inventory items to also be sold when a prim is sold
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index b6c9754..bf1dbcd 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -4117,10 +4117,7 @@ namespace OpenSim.Region.Environment.Scenes
4117 foreach (SceneObjectPart child in partList) 4117 foreach (SceneObjectPart child in partList)
4118 { 4118 {
4119 child.ChangeInventoryOwner(remoteClient.AgentId); 4119 child.ChangeInventoryOwner(remoteClient.AgentId);
4120 child.OwnerMask &= child.NextOwnerMask; 4120 child.ApplyNextOwnerPermissions();
4121 child.GroupMask &= child.NextOwnerMask;
4122 child.EveryoneMask &= child.NextOwnerMask;
4123 child.BaseMask &= child.NextOwnerMask;
4124 } 4121 }
4125 } 4122 }
4126 4123