Prevent "Object->Take" from working on attachments.

LSLKeyTest
Melanie Thielker 2016-04-29 17:11:36 +02:00
parent 8ef34a1bc5
commit bedebf9498
1 changed files with 2 additions and 2 deletions

View File

@ -2144,8 +2144,6 @@ namespace OpenSim.Region.Framework.Scenes
foreach (uint localID in localIDs)
{
// Invalid id
SceneObjectPart part = GetSceneObjectPart(localID);
if (part == null)
@ -2168,6 +2166,8 @@ namespace OpenSim.Region.Framework.Scenes
continue;
SceneObjectGroup grp = part.ParentGroup;
if (grp.IsAttachment)
continue;
// If child prims have invalid perms, fix them
grp.AdjustChildPrimPermissions(false);