From 2b5ef892720c7dfd65e20104cf9ba9bd701463c1 Mon Sep 17 00:00:00 2001
From: UbitUmarov
Date: Mon, 16 Jan 2017 20:37:04 +0000
Subject: remove now unused SetRootPartOwner()
---
.../Region/Framework/Scenes/SceneObjectGroup.cs | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
(limited to 'OpenSim')
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 924b61f..639c8dd 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.
///
--
cgit v1.1