aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index bc58a8a..4b92739 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5614,12 +5614,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5614 if (remain < 6) 5614 if (remain < 6)
5615 return; 5615 return;
5616 5616
5617 face = Convert.ToInt32(rules.Data[idx++].ToString()); // holeshape 5617 face = (int)rules.GetLSLIntegerItem(idx++);
5618 v = new LSL_Types.Vector3(rules.Data[idx++].ToString()); // cut 5618 v = rules.GetVector3Item(idx++); // cut
5619 hollow = (float)Convert.ToDouble(rules.Data[idx++].ToString()); 5619 hollow = (float)rules.GetLSLFloatItem(idx++);
5620 twist = new LSL_Types.Vector3(rules.Data[idx++].ToString()); 5620 twist = rules.GetVector3Item(idx++);
5621 taper_b = new LSL_Types.Vector3(rules.Data[idx++].ToString()); 5621 taper_b = rules.GetVector3Item(idx++);
5622 topshear = new LSL_Types.Vector3(rules.Data[idx++].ToString()); 5622 topshear = rules.GetVector3Item(idx++);
5623
5623 part.Shape.PathCurve = (byte)Extrusion.Straight; 5624 part.Shape.PathCurve = (byte)Extrusion.Straight;
5624 SetPrimitiveShapeParams(part, face, v, hollow, twist, taper_b, topshear, 1); 5625 SetPrimitiveShapeParams(part, face, v, hollow, twist, taper_b, topshear, 1);
5625 break; 5626 break;