Prevent "Object->Take" from working on attachments.
parent
8ef34a1bc5
commit
bedebf9498
|
@ -2144,8 +2144,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
foreach (uint localID in localIDs)
|
foreach (uint localID in localIDs)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
// Invalid id
|
// Invalid id
|
||||||
SceneObjectPart part = GetSceneObjectPart(localID);
|
SceneObjectPart part = GetSceneObjectPart(localID);
|
||||||
if (part == null)
|
if (part == null)
|
||||||
|
@ -2168,6 +2166,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
SceneObjectGroup grp = part.ParentGroup;
|
SceneObjectGroup grp = part.ParentGroup;
|
||||||
|
if (grp.IsAttachment)
|
||||||
|
continue;
|
||||||
|
|
||||||
// If child prims have invalid perms, fix them
|
// If child prims have invalid perms, fix them
|
||||||
grp.AdjustChildPrimPermissions(false);
|
grp.AdjustChildPrimPermissions(false);
|
||||||
|
|
Loading…
Reference in New Issue