Set collision sound type so custom sound types are recognized
parent
e93308072e
commit
91557f18cd
|
@ -4812,6 +4812,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
{
|
||||
m_host.CollisionSoundVolume = (float)impact_volume;
|
||||
m_host.CollisionSound = m_host.invalidCollisionSoundUUID;
|
||||
m_host,CollisionSoundType = 0;
|
||||
return;
|
||||
}
|
||||
// TODO: Parameter check logic required.
|
||||
|
@ -4831,6 +4832,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
}
|
||||
m_host.CollisionSoundVolume = (float)impact_volume;
|
||||
m_host.CollisionSound = soundId;
|
||||
m_host.CollisionSoundType = 1;
|
||||
}
|
||||
|
||||
public LSL_String llGetAnimation(string id)
|
||||
|
|
Loading…
Reference in New Issue