mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
a few changes fo yengine exec time check points on function calls
This commit is contained in:
@@ -16801,13 +16801,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
public void llSetSoundQueueing(int queue)
|
||||
{
|
||||
if (m_SoundModule != null)
|
||||
if (m_SoundModule is not null)
|
||||
m_SoundModule.SetSoundQueueing(m_host.UUID, queue == ScriptBaseClass.TRUE.value);
|
||||
}
|
||||
|
||||
public void llLinkSetSoundQueueing(int linknumber, int queue)
|
||||
{
|
||||
if (m_SoundModule != null)
|
||||
if (m_SoundModule is not null)
|
||||
{
|
||||
foreach (SceneObjectPart sop in GetLinkParts(linknumber))
|
||||
m_SoundModule.SetSoundQueueing(sop.UUID, queue == ScriptBaseClass.TRUE.value);
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public partial class ScriptBaseClass
|
||||
{
|
||||
// SCRIPTS CONSTANTS
|
||||
public static readonly LSLInteger OS_APIVERSION = 21;
|
||||
public static readonly LSLInteger OS_APIVERSION = 22;
|
||||
|
||||
public static readonly LSLInteger TRUE = 1;
|
||||
public static readonly LSLInteger FALSE = 0;
|
||||
|
||||
Reference in New Issue
Block a user