diff options
author | BlueWall | 2012-03-01 14:18:48 -0500 |
---|---|---|
committer | BlueWall | 2012-03-01 14:18:48 -0500 |
commit | a2b0ed537ebb539e17491ea368903a346b1bed56 (patch) | |
tree | 34354dfe4dbc319d495551cc958863ee87effb74 /OpenSim/Region/ScriptEngine | |
parent | Revert "Fix authentication for OpenID provider" (diff) | |
download | opensim-SC_OLD-a2b0ed537ebb539e17491ea368903a346b1bed56.zip opensim-SC_OLD-a2b0ed537ebb539e17491ea368903a346b1bed56.tar.gz opensim-SC_OLD-a2b0ed537ebb539e17491ea368903a346b1bed56.tar.bz2 opensim-SC_OLD-a2b0ed537ebb539e17491ea368903a346b1bed56.tar.xz |
Fix indexing on string trim
Thanks to zadark for pointing this out,
smxy for deciphering the ?: operator and
Plugh for the fix \o/ yay for IRC
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 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 c5392b5..0003515 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4039,7 +4039,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4039 | Vector3 av3 = new Vector3(Util.Clip((float)color.x, 0.0f, 1.0f), | 4039 | Vector3 av3 = new Vector3(Util.Clip((float)color.x, 0.0f, 1.0f), |
4040 | Util.Clip((float)color.y, 0.0f, 1.0f), | 4040 | Util.Clip((float)color.y, 0.0f, 1.0f), |
4041 | Util.Clip((float)color.z, 0.0f, 1.0f)); | 4041 | Util.Clip((float)color.z, 0.0f, 1.0f)); |
4042 | m_host.SetText(text.Length > 254 ? text.Remove(255) : text, av3, Util.Clip((float)alpha, 0.0f, 1.0f)); | 4042 | m_host.SetText(text.Length > 254 ? text.Remove(254) : text, av3, Util.Clip((float)alpha, 0.0f, 1.0f)); |
4043 | //m_host.ParentGroup.HasGroupChanged = true; | 4043 | //m_host.ParentGroup.HasGroupChanged = true; |
4044 | //m_host.ParentGroup.ScheduleGroupForFullUpdate(); | 4044 | //m_host.ParentGroup.ScheduleGroupForFullUpdate(); |
4045 | } | 4045 | } |