diff options
author | Melanie | 2010-05-24 23:37:47 +0100 |
---|---|---|
committer | Melanie | 2010-05-24 23:37:47 +0100 |
commit | 7d9b316ce6bdb3eee909f8d2621ed8edcf2836e3 (patch) | |
tree | 6d971d1e4bbb8ac4656e7160cc4406e367be748c /OpenSim/Region/Framework/Scenes | |
parent | minor: expand upon comments about not scheduling two full updates for attachm... (diff) | |
download | opensim-SC_OLD-7d9b316ce6bdb3eee909f8d2621ed8edcf2836e3.zip opensim-SC_OLD-7d9b316ce6bdb3eee909f8d2621ed8edcf2836e3.tar.gz opensim-SC_OLD-7d9b316ce6bdb3eee909f8d2621ed8edcf2836e3.tar.bz2 opensim-SC_OLD-7d9b316ce6bdb3eee909f8d2621ed8edcf2836e3.tar.xz |
Change the way alpha is interpreted on prim text. Manris #4723
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 71c8018..2357c6b 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -3479,7 +3479,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3479 | /// <param name="alpha"></param> | 3479 | /// <param name="alpha"></param> |
3480 | public void SetText(string text, Vector3 color, double alpha) | 3480 | public void SetText(string text, Vector3 color, double alpha) |
3481 | { | 3481 | { |
3482 | Color = Color.FromArgb(0xff - (int) (alpha*0xff), | 3482 | Color = Color.FromArgb((int) (alpha*0xff), |
3483 | (int) (color.X*0xff), | 3483 | (int) (color.X*0xff), |
3484 | (int) (color.Y*0xff), | 3484 | (int) (color.Y*0xff), |
3485 | (int) (color.Z*0xff)); | 3485 | (int) (color.Z*0xff)); |