Allow llDialog without any buttons and add the automatic OK button as it is
in SL.avinationmerge
parent
3bc9c1adb4
commit
095e3aae67
|
@ -6736,8 +6736,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
}
|
||||
if (buttons.Length < 1)
|
||||
{
|
||||
LSLError("No less than 1 button can be shown");
|
||||
return;
|
||||
buttons.Add("OK");
|
||||
}
|
||||
if (buttons.Length > 12)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue