mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user