let llPlaySound() in HUDs send sound to owner without parcel restriction

LSLKeyTest
UbitUmarov 2016-06-26 10:02:56 +01:00
parent 8cb3787de8
commit 71404be21d
1 changed files with 3 additions and 3 deletions

View File

@ -145,15 +145,15 @@ namespace OpenSim.Region.CoreModules.World.Sound
if (!m_scene.TryGetScenePresence(grp.AttachedAvatar, out ssp))
return;
if (!ssp.ParcelAllowThisAvatarSounds)
return;
if (grp.HasPrivateAttachmentPoint)
{
ssp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
ownerID, (float)gain, flags);
return;
}
if (!ssp.ParcelAllowThisAvatarSounds)
return;
}
m_scene.ForEachRootScenePresence(delegate(ScenePresence sp)