dont try to check CanObjectEntry on a attachment in llSetPos()
parent
58135ef52c
commit
b3d8e35d67
|
@ -2680,7 +2680,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
if (part.ParentGroup.RootPart == part)
|
||||
{
|
||||
SceneObjectGroup parent = part.ParentGroup;
|
||||
if (!World.Permissions.CanObjectEntry(parent.UUID, false, (Vector3)toPos))
|
||||
if (!parent.IsAttachment && !World.Permissions.CanObjectEntry(parent.UUID, false, (Vector3)toPos))
|
||||
return;
|
||||
parent.UpdateGroupPosition((Vector3)toPos);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue