one more case

master
UbitUmarov 2020-02-26 18:24:40 +00:00
parent ea8eeaa307
commit 94f88e330b
1 changed files with 1 additions and 1 deletions

View File

@ -4956,7 +4956,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_host.AddScriptLPS(1);
Vector3 av3 = Util.Clip(color, 0.0f, 1.0f);
byte[] data;
data = Util.StringToBytes256(text);
data = Util.StringToBytesNoTerm(text,256);
text = Util.UTF8.GetString(data);
m_host.SetText(text, av3, Util.Clip((float)alpha, 0.0f, 1.0f));
}