diff options
author | Melanie | 2013-01-26 16:58:02 +0000 |
---|---|---|
committer | Melanie | 2013-01-26 16:58:02 +0000 |
commit | 8f949513fda5d5303f02e95530a09619e724fdb9 (patch) | |
tree | 784da7dc0d3e161b43a6076fd438f20b4bc1cf19 /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Fix issue where the "set terrain texture" console command did not tell the vi... (diff) | |
download | opensim-SC-8f949513fda5d5303f02e95530a09619e724fdb9.zip opensim-SC-8f949513fda5d5303f02e95530a09619e724fdb9.tar.gz opensim-SC-8f949513fda5d5303f02e95530a09619e724fdb9.tar.bz2 opensim-SC-8f949513fda5d5303f02e95530a09619e724fdb9.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 13 |
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 1be2776..38a9cb0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1907,10 +1907,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1907 | part.Shape.FlexiForceX = (float)Force.x; | 1907 | part.Shape.FlexiForceX = (float)Force.x; |
1908 | part.Shape.FlexiForceY = (float)Force.y; | 1908 | part.Shape.FlexiForceY = (float)Force.y; |
1909 | part.Shape.FlexiForceZ = (float)Force.z; | 1909 | part.Shape.FlexiForceZ = (float)Force.z; |
1910 | part.Shape.PathCurve = 0x80; | 1910 | part.Shape.PathCurve = (byte)Extrusion.Flexible; |
1911 | part.ParentGroup.HasGroupChanged = true; | 1911 | } |
1912 | part.ScheduleFullUpdate(); | 1912 | else |
1913 | { | ||
1914 | // Other values not set, they do not seem to be sent to the viewer | ||
1915 | // Setting PathCurve appears to be what actually toggles the check box and turns Flexi on and off | ||
1916 | part.Shape.PathCurve = (byte)Extrusion.Straight; | ||
1917 | part.Shape.FlexiEntry = false; | ||
1913 | } | 1918 | } |
1919 | part.ParentGroup.HasGroupChanged = true; | ||
1920 | part.ScheduleFullUpdate(); | ||
1914 | } | 1921 | } |
1915 | 1922 | ||
1916 | /// <summary> | 1923 | /// <summary> |