Merge branch 'master' of ssh://3dhosting.de/var/git/careminster

avinationmerge
Melanie 2009-12-31 06:21:03 +01:00
commit b3cb99036c
1 changed files with 5 additions and 0 deletions

View File

@ -6363,6 +6363,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
LSLError("First parameter to llDialog needs to be a key"); LSLError("First parameter to llDialog needs to be a key");
return; return;
} }
if (buttons.Length < 1)
{
LSLError("No less than 1 button can be shown");
return;
}
if (buttons.Length > 12) if (buttons.Length > 12)
{ {
LSLError("No more than 12 buttons can be shown"); LSLError("No more than 12 buttons can be shown");