diff options
author | Magnuz Binder | 2015-02-10 23:01:31 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2015-02-28 00:46:12 +0000 |
commit | 158c3f82f14e4d2bb2df0c57c8c3e34cef4d76e9 (patch) | |
tree | 56e4b9a8a6da7badc5410696067ba913995416f1 /OpenSim/Region/ScriptEngine/Shared | |
parent | Use using constructs on disposable io objects in LLRaw to ensure they are alw... (diff) | |
download | opensim-SC-158c3f82f14e4d2bb2df0c57c8c3e34cef4d76e9.zip opensim-SC-158c3f82f14e4d2bb2df0c57c8c3e34cef4d76e9.tar.gz opensim-SC-158c3f82f14e4d2bb2df0c57c8c3e34cef4d76e9.tar.bz2 opensim-SC-158c3f82f14e4d2bb2df0c57c8c3e34cef4d76e9.tar.xz |
Correct PRIM_TEXT return value from trans to alpha.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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 ebdd9da..23b74ce 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -9009,7 +9009,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9009 | res.Add(new LSL_Vector(textColor.R, | 9009 | res.Add(new LSL_Vector(textColor.R, |
9010 | textColor.G, | 9010 | textColor.G, |
9011 | textColor.B)); | 9011 | textColor.B)); |
9012 | res.Add(new LSL_Float(textColor.A)); | 9012 | res.Add(new LSL_Float(1.0 - textColor.A)); |
9013 | break; | 9013 | break; |
9014 | case (int)ScriptBaseClass.PRIM_NAME: | 9014 | case (int)ScriptBaseClass.PRIM_NAME: |
9015 | res.Add(new LSL_String(part.Name)); | 9015 | res.Add(new LSL_String(part.Name)); |