aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-02-01 22:33:15 +0000
committerJustin Clark-Casey (justincc)2010-02-01 22:33:15 +0000
commit08721be3740624fb10a205bcf1ddcfd58bff7f87 (patch)
treeebb2220ea51a1157e46119526ebf6f89d75c57f2 /OpenSim/Region/ScriptEngine/Shared
parentmove hollow sphere faces bug back up to LSL_Api.cs (diff)
downloadopensim-SC_OLD-08721be3740624fb10a205bcf1ddcfd58bff7f87.zip
opensim-SC_OLD-08721be3740624fb10a205bcf1ddcfd58bff7f87.tar.gz
opensim-SC_OLD-08721be3740624fb10a205bcf1ddcfd58bff7f87.tar.bz2
opensim-SC_OLD-08721be3740624fb10a205bcf1ddcfd58bff7f87.tar.xz
minor: rename GetScriptPrimType() to GetPrimType()
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 3dc7613..a1db77e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4248,7 +4248,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4248 { 4248 {
4249 int sides = part.GetNumberOfSides(); 4249 int sides = part.GetNumberOfSides();
4250 4250
4251 if (part.GetScriptPrimType() == PrimType.SPHERE && part.Shape.ProfileHollow > 0) 4251 if (part.GetPrimType() == PrimType.SPHERE && part.Shape.ProfileHollow > 0)
4252 { 4252 {
4253 // Make up for a bug where LSL shows 4 sides rather than 2 4253 // Make up for a bug where LSL shows 4 sides rather than 2
4254 sides += 2; 4254 sides += 2;
@@ -7311,7 +7311,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7311 case (int)ScriptBaseClass.PRIM_TYPE: 7311 case (int)ScriptBaseClass.PRIM_TYPE:
7312 // implementing box 7312 // implementing box
7313 PrimitiveBaseShape Shape = part.Shape; 7313 PrimitiveBaseShape Shape = part.Shape;
7314 int primType = (int)part.GetScriptPrimType(); 7314 int primType = (int)part.GetPrimType();
7315 res.Add(new LSL_Integer(primType)); 7315 res.Add(new LSL_Integer(primType));
7316 double topshearx = (double)(sbyte)Shape.PathShearX / 100.0; // Fix negative values for PathShearX 7316 double topshearx = (double)(sbyte)Shape.PathShearX / 100.0; // Fix negative values for PathShearX
7317 double topsheary = (double)(sbyte)Shape.PathShearY / 100.0; // and PathShearY. 7317 double topsheary = (double)(sbyte)Shape.PathShearY / 100.0; // and PathShearY.