mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Change the way alpha is interpreted on prim text. Manris #4723
This commit is contained in:
@@ -3479,7 +3479,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <param name="alpha"></param>
|
||||
public void SetText(string text, Vector3 color, double alpha)
|
||||
{
|
||||
Color = Color.FromArgb(0xff - (int) (alpha*0xff),
|
||||
Color = Color.FromArgb((int) (alpha*0xff),
|
||||
(int) (color.X*0xff),
|
||||
(int) (color.Y*0xff),
|
||||
(int) (color.Z*0xff));
|
||||
|
||||
Reference in New Issue
Block a user