aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTalun2013-01-26 00:34:42 +0000
committerJustin Clark-Casey (justincc)2013-02-08 21:28:48 +0000
commitd1320993a41f3ccf7721c8553f3a4ec229b2c386 (patch)
tree8de5d33969c238e31e738015ec2ac3030a7c2baf /OpenSim
parentAssign the SmartThreadPool name in the constructor (diff)
downloadopensim-SC_OLD-d1320993a41f3ccf7721c8553f3a4ec229b2c386.zip
opensim-SC_OLD-d1320993a41f3ccf7721c8553f3a4ec229b2c386.tar.gz
opensim-SC_OLD-d1320993a41f3ccf7721c8553f3a4ec229b2c386.tar.bz2
opensim-SC_OLD-d1320993a41f3ccf7721c8553f3a4ec229b2c386.tar.xz
Mantis 6343: Turn a prim to flexy to OFF don't work llSetPrimParams
Correction so that scripts can turn Flexi off as well as on.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 2515a9e..1ab107a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1668,10 +1668,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1668 part.Shape.FlexiForceX = (float)Force.x; 1668 part.Shape.FlexiForceX = (float)Force.x;
1669 part.Shape.FlexiForceY = (float)Force.y; 1669 part.Shape.FlexiForceY = (float)Force.y;
1670 part.Shape.FlexiForceZ = (float)Force.z; 1670 part.Shape.FlexiForceZ = (float)Force.z;
1671 part.Shape.PathCurve = 0x80; 1671 part.Shape.PathCurve = (byte)Extrusion.Flexible;
1672 part.ParentGroup.HasGroupChanged = true; 1672 }
1673 part.ScheduleFullUpdate(); 1673 else
1674 {
1675 // Other values not set, they do not seem to be sent to the viewer
1676 // Setting PathCurve appears to be what actually toggles the check box and turns Flexi on and off
1677 part.Shape.PathCurve = (byte)Extrusion.Straight;
1678 part.Shape.FlexiEntry = false;
1674 } 1679 }
1680 part.ParentGroup.HasGroupChanged = true;
1681 part.ScheduleFullUpdate();
1675 } 1682 }
1676 1683
1677 /// <summary> 1684 /// <summary>