let llPlaySound() in HUDs send sound to owner without parcel restriction
parent
8cb3787de8
commit
71404be21d
|
@ -145,15 +145,15 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||||
if (!m_scene.TryGetScenePresence(grp.AttachedAvatar, out ssp))
|
if (!m_scene.TryGetScenePresence(grp.AttachedAvatar, out ssp))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!ssp.ParcelAllowThisAvatarSounds)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (grp.HasPrivateAttachmentPoint)
|
if (grp.HasPrivateAttachmentPoint)
|
||||||
{
|
{
|
||||||
ssp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
|
ssp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
|
||||||
ownerID, (float)gain, flags);
|
ownerID, (float)gain, flags);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!ssp.ParcelAllowThisAvatarSounds)
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_scene.ForEachRootScenePresence(delegate(ScenePresence sp)
|
m_scene.ForEachRootScenePresence(delegate(ScenePresence sp)
|
||||||
|
|
Loading…
Reference in New Issue