dont abort llDialog if buttons labels are longer than 24bytes, let udp truncate. This is not as spec but allows old scripts or with minor bugs to still work

This commit is contained in:
UbitUmarov
2015-11-11 06:06:22 +00:00
parent adda0ab7d8
commit 649a3fc39c

View File

@@ -7925,11 +7925,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
Error("llDialog", "Button label cannot be blank");
return;
}
/*
if (buttons.Data[i].ToString().Length > 24)
{
Error("llDialog", "Button label cannot be longer than 24 characters");
return;
}
*/
buts[i] = buttons.Data[i].ToString();
}