aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
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/Common
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/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 2d858dc..8da164c 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -5086,6 +5086,7 @@ namespace OpenSim.Region.ScriptEngine.Common
5086 shapeBlock.PathCurve = m_host.Shape.PathCurve; 5086 shapeBlock.PathCurve = m_host.Shape.PathCurve;
5087 5087
5088 m_host.Shape.SetSculptData((byte)type, sculptId); 5088 m_host.Shape.SetSculptData((byte)type, sculptId);
5089 m_host.Shape.SculptEntry = true;
5089 m_host.UpdateShape(shapeBlock); 5090 m_host.UpdateShape(shapeBlock);
5090 } 5091 }
5091 5092
@@ -5187,7 +5188,7 @@ namespace OpenSim.Region.ScriptEngine.Common
5187 taper_b = new LSL_Types.Vector3(rules.Data[idx++].ToString()); 5188 taper_b = new LSL_Types.Vector3(rules.Data[idx++].ToString());
5188 topshear = new LSL_Types.Vector3(rules.Data[idx++].ToString()); 5189 topshear = new LSL_Types.Vector3(rules.Data[idx++].ToString());
5189 m_host.Shape.PathCurve = (byte) Extrusion.Straight; 5190 m_host.Shape.PathCurve = (byte) Extrusion.Straight;
5190 SetPrimitiveShapeParams(face, v, hollow, twist, taper_b, topshear, 1);; 5191 SetPrimitiveShapeParams(face, v, hollow, twist, taper_b, topshear, 1);
5191 break; 5192 break;
5192 5193
5193 case (int)BuiltIn_Commands_BaseClass.PRIM_TYPE_CYLINDER: 5194 case (int)BuiltIn_Commands_BaseClass.PRIM_TYPE_CYLINDER: