From 8d0364e228ea038902e9249ea4550668d3a23f7d Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 22 Jan 2008 15:07:30 +0000 Subject: * changed nonsensical PermissionMask and ObjectFlags mixup; if this causes perms weirdness, let's all work together to find the real cause. --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 12176af..785ebf7 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -288,7 +288,7 @@ namespace OpenSim.Region.Environment.Scenes AddPart(part); part.RegionHandle = m_regionHandle; - part.ApplySanePermissions(); + part.TrimPermissions(); } break; case XmlNodeType.EndElement: @@ -524,7 +524,7 @@ namespace OpenSim.Region.Environment.Scenes dupe.m_regionHandle = m_regionHandle; dupe.CopyRootPart(m_rootPart, OwnerID, GroupID); - dupe.m_rootPart.ApplySanePermissions(); + dupe.m_rootPart.TrimPermissions(); /// may need to create a new Physics actor. if (dupe.RootPart.PhysActor != null) -- cgit v1.1