From 8887bde499dbd36a5e462e2c5b8fee73c9591997 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 6 Oct 2008 06:15:19 +0000 Subject: Cause inventory items to also be sold when a prim is sold --- OpenSim/Region/Environment/Scenes/Scene.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'OpenSim/Region') 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 foreach (SceneObjectPart child in partList) { child.ChangeInventoryOwner(remoteClient.AgentId); - child.OwnerMask &= child.NextOwnerMask; - child.GroupMask &= child.NextOwnerMask; - child.EveryoneMask &= child.NextOwnerMask; - child.BaseMask &= child.NextOwnerMask; + child.ApplyNextOwnerPermissions(); } } -- cgit v1.1