cosmetics

This commit is contained in:
UbitUmarov
2025-11-25 17:45:06 +00:00
parent 2db1fabd10
commit c71e61dfd6
5 changed files with 49 additions and 45 deletions

View File

@@ -2292,14 +2292,15 @@ namespace OpenSim.Region.Framework.Scenes
public void SetText(string text, Vector3 color, double alpha)
{
Color = Color.FromArgb(0xff - (int) (alpha * 0xff),
Color newcolor = Color.FromArgb(0xff - (int) (alpha * 0xff),
(int) (color.X * 0xff),
(int) (color.Y * 0xff),
(int) (color.Z * 0xff));
Text = text;
HasGroupChanged = true;
m_rootPart.ScheduleFullUpdate();
if(Text != text || newcolor!= Color)
{
HasGroupChanged = true;
m_rootPart.ScheduleFullUpdate();
}
}
/// <summary>