diff options
author | Melanie | 2012-08-23 23:09:32 +0200 |
---|---|---|
committer | Melanie | 2012-08-23 23:09:32 +0200 |
commit | c1a0c7fad17bb2aead1539b61fe82fee16686190 (patch) | |
tree | 1f9b4318c25b61d5b5c11520b34630b1fb6a445d /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | Make terrain save every 1000 frames instead of every 50. Database load is a s... (diff) | |
download | opensim-SC-c1a0c7fad17bb2aead1539b61fe82fee16686190.zip opensim-SC-c1a0c7fad17bb2aead1539b61fe82fee16686190.tar.gz opensim-SC-c1a0c7fad17bb2aead1539b61fe82fee16686190.tar.bz2 opensim-SC-c1a0c7fad17bb2aead1539b61fe82fee16686190.tar.xz |
Fix bad child prim permissions that can make objects change perms after rezzing
Diffstat (limited to '')
-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 f8c0431..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 |