mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Immediately setting gain to zero as a workaround for code not stopping sound started by llPlaySound
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
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)
|
||||
|
||||
Reference in New Issue
Block a user