Allow llDialog without any buttons and add the automatic OK button as it is

in SL.
avinationmerge
Melanie 2010-11-18 01:11:11 +01:00
parent 3bc9c1adb4
commit 095e3aae67
1 changed files with 1 additions and 2 deletions

View File

@ -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)
{