From 6bcf44e141c578536248098df2a36f74a65f3ee6 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Thu, 10 Jan 2008 19:21:37 +0000 Subject: [PATCH] Added const definintions for sculpted prims. --- .../DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index 65db5105ac..b86552bd1e 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs @@ -54,7 +54,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL { //Console.WriteLine("LSL_BaseClass: InitializeLifetimeService()"); // return null; - ILease lease = (ILease) base.InitializeLifetimeService(); + ILease lease = (ILease)base.InitializeLifetimeService(); if (lease.CurrentState == LeaseState.Initial) { @@ -2095,6 +2095,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL public const int PRIM_BUMP_SUCTION = 16; public const int PRIM_BUMP_WEAVE = 17; + public const int PRIM_SCULPT_TYPE_SPHERE = 1; + public const int PRIM_SCULPT_TYPE_TORUS = 2; + public const int PRIM_SCULPT_TYPE_PLANE = 3; + public const int PRIM_SCULPT_TYPE_CYLINDER = 4; + + public const int MASK_BASE = 0; public const int MASK_OWNER = 1; public const int MASK_GROUP = 2;