Immediately setting gain to zero as a workaround for code not stopping sound started by llPlaySound
parent
09f4e72d6a
commit
7560010f34
|
@ -2452,6 +2452,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
public void llStopSound()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
m_host.AdjustSoundGain(0);
|
||||
if (m_host.ParentGroup.LoopSoundSlavePrims.Contains(m_host))
|
||||
{
|
||||
if (m_host.ParentGroup.LoopSoundMasterPrim == m_host)
|
||||
|
|
Loading…
Reference in New Issue