limit llDialog buttons text to 24 bytes (at lludp level)
parent
2b937fdf40
commit
adda0ab7d8
|
@ -2444,7 +2444,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
for (int i = 0; i < buttonlabels.Length; i++)
|
||||
{
|
||||
buttons[i] = new ScriptDialogPacket.ButtonsBlock();
|
||||
buttons[i].ButtonLabel = Util.StringToBytes256(buttonlabels[i]);
|
||||
buttons[i].ButtonLabel = Util.StringToBytes(buttonlabels[i],24);
|
||||
}
|
||||
dialog.Buttons = buttons;
|
||||
|
||||
|
|
Loading…
Reference in New Issue