diff options
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)); |