aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorCharles Krinke2008-07-06 03:47:21 +0000
committerCharles Krinke2008-07-06 03:47:21 +0000
commitf6375fceb43c23444979b7bb3df3f1d2cba61796 (patch)
treeb53936d91c8e79fa0455d8995acdd13accd6e122 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parent* Moves sending items to inventory via a delete into a seperate thread (this ... (diff)
downloadopensim-SC_OLD-f6375fceb43c23444979b7bb3df3f1d2cba61796.zip
opensim-SC_OLD-f6375fceb43c23444979b7bb3df3f1d2cba61796.tar.gz
opensim-SC_OLD-f6375fceb43c23444979b7bb3df3f1d2cba61796.tar.bz2
opensim-SC_OLD-f6375fceb43c23444979b7bb3df3f1d2cba61796.tar.xz
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.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
1 files changed, 2 insertions, 1 deletions
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
4896 shapeBlock.PathCurve = m_host.Shape.PathCurve; 4896 shapeBlock.PathCurve = m_host.Shape.PathCurve;
4897 4897
4898 m_host.Shape.SetSculptData((byte)type, sculptId); 4898 m_host.Shape.SetSculptData((byte)type, sculptId);
4899 m_host.Shape.SculptEntry = true;
4899 m_host.UpdateShape(shapeBlock); 4900 m_host.UpdateShape(shapeBlock);
4900 } 4901 }
4901 4902
@@ -4997,7 +4998,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4997 taper_b = new LSL_Types.Vector3(rules.Data[idx++].ToString()); 4998 taper_b = new LSL_Types.Vector3(rules.Data[idx++].ToString());
4998 topshear = new LSL_Types.Vector3(rules.Data[idx++].ToString()); 4999 topshear = new LSL_Types.Vector3(rules.Data[idx++].ToString());
4999 m_host.Shape.PathCurve = (byte) Extrusion.Straight; 5000 m_host.Shape.PathCurve = (byte) Extrusion.Straight;
5000 SetPrimitiveShapeParams(face, v, hollow, twist, taper_b, topshear, 1);; 5001 SetPrimitiveShapeParams(face, v, hollow, twist, taper_b, topshear, 1);
5001 break; 5002 break;
5002 5003
5003 case (int)ScriptBaseClass.PRIM_TYPE_CYLINDER: 5004 case (int)ScriptBaseClass.PRIM_TYPE_CYLINDER: