aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorubit2012-08-25 16:33:29 +0200
committerubit2012-08-25 16:33:29 +0200
commit7a4dba2fdc4b2f33921cc931a7102abd25600927 (patch)
tree873d526493b8278a255173923a3c228bb228eeb4 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parent try fixing building.. (diff)
parentMerge branch 'avination' into ubitwork (diff)
downloadopensim-SC-7a4dba2fdc4b2f33921cc931a7102abd25600927.zip
opensim-SC-7a4dba2fdc4b2f33921cc931a7102abd25600927.tar.gz
opensim-SC-7a4dba2fdc4b2f33921cc931a7102abd25600927.tar.bz2
opensim-SC-7a4dba2fdc4b2f33921cc931a7102abd25600927.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster 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;