diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 924b61f0c2..639c8dd881 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -2744,28 +2744,10 @@ namespace OpenSim.Region.Framework.Scenes } /// - /// Set the owner of the root part. + /// Set the owner of all linkset. /// - /// /// /// - public void SetRootPartOwner(SceneObjectPart part, UUID cAgentID, UUID cGroupID) - { - if(part.GroupID != part.OwnerID && cGroupID != part.OwnerID) - part.LastOwnerID = part.OwnerID; - part.OwnerID = cAgentID; - part.GroupID = cGroupID; - - if (part.OwnerID != cAgentID) - { - // Apply Next Owner Permissions if we're not bypassing permissions - if (!m_scene.Permissions.BypassPermissions()) - ApplyNextOwnerPermissions(); - } - - part.ScheduleFullUpdate(); - } - public void SetOwner(UUID cAgentID, UUID cGroupID) { SceneObjectPart rpart = RootPart; @@ -2788,8 +2770,6 @@ namespace OpenSim.Region.Framework.Scenes rpart.ScheduleFullUpdate(); } - - /// /// Make a copy of the given part. ///