stop old useless bytes to float and back to bytes

This commit is contained in:
UbitUmarov
2025-06-04 23:41:26 +01:00
parent 74c64e199d
commit e0006fb17d
3 changed files with 15 additions and 9 deletions

View File

@@ -5308,9 +5308,8 @@ namespace OpenSim.Region.Framework.Scenes
public Color4 GetTextColor()
{
// note that Alpha is inverted for lludp
Color color = m_color;
return new Color4(color.R, color.G, color.B, (byte)(0xFF - color.A));
return new Color4(color.R, color.G, color.B, m_color.A);
}
public float GetTextAlpha()