Mantis#1660. Thank you, kindly, Melanie for a patch that:
Attached patch changes TRUE and FALSE to be LSLIntegers.0.6.0-stable
parent
8251508412
commit
cf87a9c5fe
|
@ -28,14 +28,15 @@
|
||||||
using System;
|
using System;
|
||||||
using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
|
using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
|
||||||
using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
|
using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
|
||||||
|
using LSLInteger = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
|
||||||
|
|
||||||
namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
{
|
{
|
||||||
public partial class ScriptBaseClass : MarshalByRefObject
|
public partial class ScriptBaseClass : MarshalByRefObject
|
||||||
{
|
{
|
||||||
// LSL CONSTANTS
|
// LSL CONSTANTS
|
||||||
public const int TRUE = 1;
|
public LSLInteger TRUE = new LSLInteger(1);
|
||||||
public const int FALSE = 0;
|
public LSLInteger FALSE = new LSLInteger(0);
|
||||||
|
|
||||||
public const int STATUS_PHYSICS = 1;
|
public const int STATUS_PHYSICS = 1;
|
||||||
public const int STATUS_ROTATE_X = 2;
|
public const int STATUS_ROTATE_X = 2;
|
||||||
|
|
Loading…
Reference in New Issue