Immediately setting gain to zero as a workaround for code not stopping sound started by llPlaySound

integration
SignpostMarv 2012-10-04 11:33:21 +01:00 committed by Justin Clark-Casey (justincc)
parent 09f4e72d6a
commit 7560010f34
1 changed files with 1 additions and 0 deletions

View File

@ -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)