mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Allow llDialog without any buttons and add the automatic OK button as it is
in SL.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user