From f6375fceb43c23444979b7bb3df3f1d2cba61796 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 6 Jul 2008 03:47:21 +0000 Subject: Mantis#1674. Thank you kindly, Matth for a patch that: This patch fixes an error in llSetPrimitiveParams() that prevents correctly setting the type of the prim to SCULPT_TYPE. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 06f9f3b..0e85340 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4896,6 +4896,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api shapeBlock.PathCurve = m_host.Shape.PathCurve; m_host.Shape.SetSculptData((byte)type, sculptId); + m_host.Shape.SculptEntry = true; m_host.UpdateShape(shapeBlock); } @@ -4997,7 +4998,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api taper_b = new LSL_Types.Vector3(rules.Data[idx++].ToString()); topshear = new LSL_Types.Vector3(rules.Data[idx++].ToString()); m_host.Shape.PathCurve = (byte) Extrusion.Straight; - SetPrimitiveShapeParams(face, v, hollow, twist, taper_b, topshear, 1);; + SetPrimitiveShapeParams(face, v, hollow, twist, taper_b, topshear, 1); break; case (int)ScriptBaseClass.PRIM_TYPE_CYLINDER: -- cgit v1.1