Correct PRIM_TEXT return value from trans to alpha.

inv-download
Magnuz Binder 2015-02-10 23:01:31 +01:00 committed by Justin Clark-Casey (justincc)
parent 4717132b82
commit 158c3f82f1
1 changed files with 1 additions and 1 deletions

View File

@ -9009,7 +9009,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
res.Add(new LSL_Vector(textColor.R,
textColor.G,
textColor.B));
res.Add(new LSL_Float(textColor.A));
res.Add(new LSL_Float(1.0 - textColor.A));
break;
case (int)ScriptBaseClass.PRIM_NAME:
res.Add(new LSL_String(part.Name));