diff options
author | Melanie | 2012-08-24 00:15:30 +0100 |
---|---|---|
committer | Melanie | 2012-08-24 00:15:30 +0100 |
commit | c55768466626336849c650349b335365c41359e5 (patch) | |
tree | 5050a16ac8dc0033ee8f730b914f6e6464d879b3 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | If a script state save fails for some reason on shutdown/region removal, get ... (diff) | |
download | opensim-SC-c55768466626336849c650349b335365c41359e5.zip opensim-SC-c55768466626336849c650349b335365c41359e5.tar.gz opensim-SC-c55768466626336849c650349b335365c41359e5.tar.bz2 opensim-SC-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.cs | 3 |
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 |