aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs4
1 files changed, 2 insertions, 2 deletions
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
288 AddPart(part); 288 AddPart(part);
289 part.RegionHandle = m_regionHandle; 289 part.RegionHandle = m_regionHandle;
290 290
291 part.ApplySanePermissions(); 291 part.TrimPermissions();
292 } 292 }
293 break; 293 break;
294 case XmlNodeType.EndElement: 294 case XmlNodeType.EndElement:
@@ -524,7 +524,7 @@ namespace OpenSim.Region.Environment.Scenes
524 dupe.m_regionHandle = m_regionHandle; 524 dupe.m_regionHandle = m_regionHandle;
525 525
526 dupe.CopyRootPart(m_rootPart, OwnerID, GroupID); 526 dupe.CopyRootPart(m_rootPart, OwnerID, GroupID);
527 dupe.m_rootPart.ApplySanePermissions(); 527 dupe.m_rootPart.TrimPermissions();
528 528
529 /// may need to create a new Physics actor. 529 /// may need to create a new Physics actor.
530 if (dupe.RootPart.PhysActor != null) 530 if (dupe.RootPart.PhysActor != null)