* changed nonsensical PermissionMask and ObjectFlags mixup; if this causes perms weirdness, let's all work together to find the real cause.

This commit is contained in:
lbsa71
2008-01-22 15:07:30 +00:00
parent af43349294
commit 8d0364e228
4 changed files with 43 additions and 101 deletions

View File

@@ -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)