mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 00:15:45 +08:00
dont try to check CanObjectEntry on a attachment in llSetPos()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user