aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-08-25 15:21:51 +0100
committerUbitUmarov2012-08-25 15:21:51 +0100
commit9a803308755200c0449e409fd3c22d45bca9e95c (patch)
tree2100bd63e85a37948dfc74a07f1d70a82a665048 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parentMerge branch 'avination' into ubitwork (diff)
parentMerge branch 'ubitwork' into avination (diff)
downloadopensim-SC_OLD-9a803308755200c0449e409fd3c22d45bca9e95c.zip
opensim-SC_OLD-9a803308755200c0449e409fd3c22d45bca9e95c.tar.gz
opensim-SC_OLD-9a803308755200c0449e409fd3c22d45bca9e95c.tar.bz2
opensim-SC_OLD-9a803308755200c0449e409fd3c22d45bca9e95c.tar.xz
Merge branch 'avination' into ubitwork
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 0b73df5..1309623 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1983,6 +1983,9 @@ namespace OpenSim.Region.Framework.Scenes
1983 1983
1984 SceneObjectGroup grp = part.ParentGroup; 1984 SceneObjectGroup grp = part.ParentGroup;
1985 1985
1986 // If child prims have invalid perms, fix them
1987 grp.AdjustChildPrimPermissions();
1988
1986 if (remoteClient == null) 1989 if (remoteClient == null)
1987 { 1990 {
1988 // Autoreturn has a null client. Nothing else does. So 1991 // Autoreturn has a null client. Nothing else does. So
@@ -2050,7 +2053,7 @@ namespace OpenSim.Region.Framework.Scenes
2050 if (Permissions.CanReturnObjects( 2053 if (Permissions.CanReturnObjects(
2051 null, 2054 null,
2052 remoteClient.AgentId, 2055 remoteClient.AgentId,
2053 deleteGroups)) 2056 new List<SceneObjectGroup>() {grp}))
2054 { 2057 {
2055 permissionToTake = true; 2058 permissionToTake = true;
2056 permissionToDelete = true; 2059 permissionToDelete = true;