aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorMelanie2012-08-24 00:15:30 +0100
committerMelanie2012-08-24 00:15:30 +0100
commitc55768466626336849c650349b335365c41359e5 (patch)
tree5050a16ac8dc0033ee8f730b914f6e6464d879b3 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parentIf a script state save fails for some reason on shutdown/region removal, get ... (diff)
downloadopensim-SC_OLD-c55768466626336849c650349b335365c41359e5.zip
opensim-SC_OLD-c55768466626336849c650349b335365c41359e5.tar.gz
opensim-SC_OLD-c55768466626336849c650349b335365c41359e5.tar.bz2
opensim-SC_OLD-c55768466626336849c650349b335365c41359e5.tar.xz
Fix bad child prim permissions that can make objects change perms after rezzing
Port from Avination
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 7e31d60..675c64d 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1943,6 +1943,9 @@ namespace OpenSim.Region.Framework.Scenes
1943 deleteIDs.Add(localID); 1943 deleteIDs.Add(localID);
1944 deleteGroups.Add(grp); 1944 deleteGroups.Add(grp);
1945 1945
1946 // If child prims have invalid perms, fix them
1947 grp.AdjustChildPrimPermissions();
1948
1946 if (remoteClient == null) 1949 if (remoteClient == null)
1947 { 1950 {
1948 // Autoreturn has a null client. Nothing else does. So 1951 // Autoreturn has a null client. Nothing else does. So